1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-02 08:58:33 +03:00

s4:tests/iconv - Fix a warning

This commit is contained in:
Matthias Dieter Wallnöfer 2009-09-07 12:38:44 +02:00
parent 41ce496691
commit 56a0f995b8

View File

@ -441,7 +441,8 @@ static bool test_string2key(struct torture_context *tctx)
torture_fail(tctx, "Failed to convert fixed buffer to UTF8\n");
}
torture_assert(tctx, strcmp(correct, out1) == 0, "conversion gave incorrect result\n");
torture_assert(tctx, strcmp(correct, (const char *) out1) == 0,
"conversion gave incorrect result\n");
talloc_free(mem_ctx);