Skip to content

Commit

Permalink
replace reinterpret_cast of NULL by simple cast
Browse files Browse the repository at this point in the history
  • Loading branch information
svigerske authored Apr 16, 2024
1 parent 1d7ae94 commit 2420bb8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/OsiTestSolverInterfaceIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -422,10 +422,10 @@ OsiTestSolverInterface::writeMps(const char *filename,
writer.setMpsData(*getMatrixByCol(), getInfinity(),
getColLower(), getColUpper(),
getObjCoefficients(),
reinterpret_cast<const char *> (NULL) /*integrality*/,
NULL /*integrality*/,
getRowLower(), getRowUpper(),
reinterpret_cast<const char **> (NULL) /*colnam*/,
reinterpret_cast<const char **> (NULL) /*rownam*/);
NULL /*colnam*/,
NULL /*rownam*/);
std::string fname = filename;
if (extension)
{ if (extension[0] != '\0' && extension[0] != '.')
Expand Down

0 comments on commit 2420bb8

Please sign in to comment.