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

@@ -76,8 +76,8 @@ BOOST_FIXTURE_TEST_CASE(test_link_id_isvalid, FixtureInitClose)
error = EN_addlink(ph, (char *)"L;2", EN_PIPE, (char *)"N1", (char *)"N2");
BOOST_REQUIRE(error == 250);
EN_getlinkindex(ph, "L1", &index);
error = EN_setlinkid(ph, index, "L;1");
EN_getlinkindex(ph, (char *)"L1", &index);
error = EN_setlinkid(ph, index, (char *)"L;1");
BOOST_REQUIRE(error == 250);
}