2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

explict cast to (char *) from (void *) to silence compiler warning in %s checking

This commit is contained in:
Mark Andrews
2013-02-05 14:23:35 +11:00
parent 9dac1de625
commit 7d517b64d5

View File

@@ -107,7 +107,7 @@ ATF_TC_BODY(symtab_grow, tc) {
snprintf(str, sizeof(str), "%04x", i);
result = isc_symtab_lookup(st, str, 0, &value);
ATF_CHECK_EQ(result, ISC_R_SUCCESS);
ATF_CHECK_STREQ(str, value.as_pointer);
ATF_CHECK_STREQ(str, (char *)value.as_pointer);
}
/*