diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-07 12:38:44 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-07 12:38:44 +0200 |
commit | 56a0f995b8a6f1d439a12a8c106477024a606886 (patch) | |
tree | 354d5270fb471da11bd9ddc8640e7c61c393659c /lib/util | |
parent | 41ce496691c7d2a12cdd9db7ba293f0f7783d88d (diff) | |
download | samba-56a0f995b8a6f1d439a12a8c106477024a606886.tar.gz samba-56a0f995b8a6f1d439a12a8c106477024a606886.tar.bz2 samba-56a0f995b8a6f1d439a12a8c106477024a606886.zip |
s4:tests/iconv - Fix a warning
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); |