summaryrefslogtreecommitdiff
path: root/math/ogdf/files/patch-src_coin_OsiClp_OsiClpSolverInterface.cpp
blob: 0659737b62d0594265a13e0cc3f9ab13bc80d3f4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
OsiClpSolverInterface.cpp:1451:50: error: reinterpret_cast from 'nullptr_t' to 'int *' is not allowed
    messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--- src/coin/OsiClp/OsiClpSolverInterface.cpp.orig	2015-05-29 15:36:45 UTC
+++ src/coin/OsiClp/OsiClpSolverInterface.cpp
@@ -1422,7 +1422,7 @@ OsiClpSolverInterface::setupForRepeatedUse(int senseOf
   if (stopPrinting) {
     CoinMessages * messagesPointer = modelPtr_->messagesPointer();
     // won't even build messages
-    messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
+    messagesPointer->setDetailMessages(100,10000,static_cast<int *> (NULL));
   }
 #endif
 }