mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
Fix a pointer to int conversion warning: cast the int instead.
Michael (This used to be commit 3cace4b7aa87a2f5bc7b6efd095366699d939511)
This commit is contained in:
parent
a10e6183aa
commit
d4123ba9ee
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user