Fixing build warnings on gcc

This commit is contained in:
Michael Tryby
2019-04-16 17:40:40 -04:00
parent 3186ec326c
commit f161ecaa72
4 changed files with 16 additions and 16 deletions

View File

@@ -63,8 +63,8 @@ BOOST_FIXTURE_TEST_CASE(test_node_validate_id, FixtureInitClose)
error = EN_addnode(ph, (char *)"N;3", EN_JUNCTION);
BOOST_REQUIRE(error == 250);
EN_getnodeindex(ph, "N2", &index);
error = EN_setnodeid(ph, index, "N;2");
EN_getnodeindex(ph, (char *)"N2", &index);
error = EN_setnodeid(ph, index, (char *)"N;2");
BOOST_REQUIRE(error = 250);
}