mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 08:49:15 -04:00
Added patches to prevent breakage due to reinterpret_cast<SomeType*>(NULL). See the upstream bug report: https://github.com/coin-or/Clp/issues/7 Approved by: portmgr (port compliance, infrastructure)
11 lines
467 B
C++
11 lines
467 B
C++
--- Clp/src/OsiClp/OsiClpSolverInterface.cpp.orig 2018-04-16 06:57:00 UTC
|
|
+++ Clp/src/OsiClp/OsiClpSolverInterface.cpp
|
|
@@ -1448,7 +1448,7 @@ OsiClpSolverInterface::setupForRepeatedU
|
|
if (stopPrinting) {
|
|
CoinMessages * messagesPointer = modelPtr_->messagesPointer();
|
|
// won't even build messages
|
|
- messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
|
|
+ messagesPointer->setDetailMessages(100,10000,nullptr);
|
|
}
|
|
#endif
|
|
}
|