From d4123ba9ee7ec59331cffb846d9c82dce3d84d0d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 15 Feb 2008 13:14:20 +0100 Subject: Fix a pointer to int conversion warning: cast the int instead. Michael (This used to be commit 3cace4b7aa87a2f5bc7b6efd095366699d939511) --- source3/torture/smbiconv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit