diff options
-rw-r--r-- | source3/torture/smbiconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/smbiconv.c b/source3/torture/smbiconv.c index 6e609aa851..72fbdc470f 100644 --- a/source3/torture/smbiconv.c +++ b/source3/torture/smbiconv.c @@ -214,7 +214,7 @@ int main(int argc, char *argv[]) } cd = smb_iconv_open(to, from); - if((int)cd == -1) { + if (cd == (smb_iconv_t)-1) { DEBUG(0,("unable to find from or to encoding, exiting...\n")); return 1; } |