diff --git a/src/CbcModel.cpp b/src/CbcModel.cpp index 4d2352f0c..e49a307c8 100644 --- a/src/CbcModel.cpp +++ b/src/CbcModel.cpp @@ -6255,7 +6255,7 @@ void CbcModel::branchAndBound(int doStatistics) OsiClpSolverInterface *clpSolver = dynamic_cast(solver_); if (clpSolver) - clpSolver->setFakeObjective(reinterpret_cast(NULL)); + clpSolver->setFakeObjective(static_cast(NULL)); } #endif moreSpecialOptions_ = saveMoreSpecialOptions;