diff options
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/charset/tests/iconv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/charset/tests/iconv.c b/lib/util/charset/tests/iconv.c index 0f09ac8507..3e2546dc01 100644 --- a/lib/util/charset/tests/iconv.c +++ b/lib/util/charset/tests/iconv.c @@ -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); |