Skip to content

Commit

Permalink
use static_cast for static cast, fixes #319
Browse files Browse the repository at this point in the history
  • Loading branch information
svigerske committed Jul 20, 2020
1 parent ebe3089 commit b127c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cbc/src/CbcModel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5423,7 +5423,7 @@ void CbcModel::branchAndBound(int doStatistics)
OsiClpSolverInterface *clpSolver
= dynamic_cast< OsiClpSolverInterface * >(solver_);
if (clpSolver)
clpSolver->setFakeObjective(reinterpret_cast< double * >(NULL));
clpSolver->setFakeObjective(static_cast< double * >(NULL));
}
#endif
moreSpecialOptions_ = saveMoreSpecialOptions;
Expand Down

0 comments on commit b127c88

Please sign in to comment.