git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03db3bd
)
Fix a pointer to int conversion warning: cast the int instead.
author
Michael Adam
<obnox@samba.org>
Fri, 15 Feb 2008 12:14:20 +0000
(13:14 +0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 15 Feb 2008 12:14:20 +0000
(13:14 +0100)
Michael
source/torture/smbiconv.c
patch
|
blob
|
history
diff --git
a/source/torture/smbiconv.c
b/source/torture/smbiconv.c
index 6e609aa851d0a0d954690ff10dbef7defb4a10ea..72fbdc470fe9172640d4ecf0e0fdcca1eda1829f 100644
(file)
--- a/
source/torture/smbiconv.c
+++ b/
source/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;
}