summaryrefslogtreecommitdiff
path: root/math/ogdf/files/patch-src_coin_Clp_ClpModel.cpp
blob: 0e979f79517dc5dd28bed4e8c8db605cf22c68e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
ClpModel.cpp:3848:24: error: reinterpret_cast from 'nullptr_t' to 'const char *' is not allowed
                       reinterpret_cast<const char*> (NULL) /*integrality*/,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--- src/coin/Clp/ClpModel.cpp.orig	2015-05-29 15:36:41 UTC
+++ src/coin/Clp/ClpModel.cpp
@@ -3619,7 +3619,7 @@ ClpModel::writeMps(const char *filename,
      writer.setMpsData(*(matrix_->getPackedMatrix()), COIN_DBL_MAX,
                        getColLower(), getColUpper(),
                        objective,
-                       reinterpret_cast<const char*> (NULL) /*integrality*/,
+                       static_cast<const char*> (NULL) /*integrality*/,
                        getRowLower(), getRowUpper(),
                        columnNames, rowNames);
      // Pass in array saying if each variable integer