summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-02-15 13:14:20 +0100
committerMichael Adam <obnox@samba.org>2008-02-15 13:14:20 +0100
commitd4123ba9ee7ec59331cffb846d9c82dce3d84d0d (patch)
tree76a752ce7d3c0e801ef4362e9914e50bc6c97b81
parenta10e6183aa05f26583dfe0fc7037d9190b57a69d (diff)
downloadsamba-d4123ba9ee7ec59331cffb846d9c82dce3d84d0d.tar.gz
samba-d4123ba9ee7ec59331cffb846d9c82dce3d84d0d.tar.bz2
samba-d4123ba9ee7ec59331cffb846d9c82dce3d84d0d.zip
Fix a pointer to int conversion warning: cast the int instead.
Michael (This used to be commit 3cace4b7aa87a2f5bc7b6efd095366699d939511)
-rw-r--r--source3/torture/smbiconv.c2
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;
}