forgejo-lts: 7.0.10 -> 7.0.11
[NixPkgs.git] / pkgs / by-name / co / coinmp / 0002-change-reinterpret_cast-of-NULL-to-C-style-case-fixe.patch
blobb1ca1806b5a9cf4338106b3aad303c86383a9298
1 From 4571de031e528bc145590d6a1be5ceb87bd8cdb5 Mon Sep 17 00:00:00 2001
2 From: Stefan Vigerske <svigerske@gams.com>
3 Date: Mon, 11 Mar 2019 16:29:20 +0000
4 Subject: [PATCH 2/2] change reinterpret_cast of NULL to C-style case, fixes
5 #93
7 ---
8 Clp/src/OsiClp/OsiClpSolverInterface.cpp | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
11 diff --git a/Clp/src/OsiClp/OsiClpSolverInterface.cpp b/Clp/src/OsiClp/OsiClpSolverInterface.cpp
12 index 55dd4dcd..a0217d42 100644
13 --- a/Clp/src/OsiClp/OsiClpSolverInterface.cpp
14 +++ b/Clp/src/OsiClp/OsiClpSolverInterface.cpp
15 @@ -1448,7 +1448,7 @@ OsiClpSolverInterface::setupForRepeatedUse(int senseOfAdventure, int printOut)
16 if (stopPrinting) {
17 CoinMessages * messagesPointer = modelPtr_->messagesPointer();
18 // won't even build messages
19 - messagesPointer->setDetailMessages(100,10000,reinterpret_cast<int *> (NULL));
20 + messagesPointer->setDetailMessages(100,10000,(int*)NULL);
22 #endif
24 --
25 2.37.3