Skip to content

Commit 2420bb8

Browse files
authored
replace reinterpret_cast of NULL by simple cast
fixes #190
1 parent 1d7ae94 commit 2420bb8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/OsiTestSolverInterfaceIO.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -422,10 +422,10 @@ OsiTestSolverInterface::writeMps(const char *filename,
422422
writer.setMpsData(*getMatrixByCol(), getInfinity(),
423423
getColLower(), getColUpper(),
424424
getObjCoefficients(),
425-
reinterpret_cast<const char *> (NULL) /*integrality*/,
425+
NULL /*integrality*/,
426426
getRowLower(), getRowUpper(),
427-
reinterpret_cast<const char **> (NULL) /*colnam*/,
428-
reinterpret_cast<const char **> (NULL) /*rownam*/);
427+
NULL /*colnam*/,
428+
NULL /*rownam*/);
429429
std::string fname = filename;
430430
if (extension)
431431
{ if (extension[0] != '\0' && extension[0] != '.')

0 commit comments

Comments
 (0)