Skip to content

Commit

Permalink
replace reinterpret_cast of NULL by simple cast
Browse files Browse the repository at this point in the history
fixes #190
  • Loading branch information
svigerske committed Apr 16, 2024
1 parent 2517a8a commit 12b62eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Osi/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 12b62eb

Please sign in to comment.