Eliminating build warnings on gcc

This commit is contained in:
Michael Tryby
2019-03-19 13:50:39 -04:00
parent 29cfe43e5a
commit a566f914d4
4 changed files with 10 additions and 23 deletions

View File

@@ -133,7 +133,7 @@ BOOST_AUTO_TEST_CASE(test_setid_reopen, * boost::unit_test::depends_on("setid_sa
BOOST_REQUIRE(error == 0);
// Check that 3rd link has its new name
error = EN_getlinkindex(ph, "Link3", &index);
error = EN_getlinkindex(ph, (char *)"Link3", &index);
BOOST_REQUIRE(error == 0);
BOOST_REQUIRE(index == 3);