diff options
author | Herb Lewis <herb@samba.org> | 2001-10-23 19:10:30 +0000 |
---|---|---|
committer | Herb Lewis <herb@samba.org> | 2001-10-23 19:10:30 +0000 |
commit | 3ea349271355b39f7b877ce67530cc58e7db0ee8 (patch) | |
tree | 3e5c5c112cb3aa8386b3e08bbdd444953a6ebd52 /source3/lib/iconv.c | |
parent | 2a2cccabca40af0d713a4541b4ccba0a3d97496c (diff) | |
download | samba-3ea349271355b39f7b877ce67530cc58e7db0ee8.tar.gz samba-3ea349271355b39f7b877ce67530cc58e7db0ee8.tar.xz samba-3ea349271355b39f7b877ce67530cc58e7db0ee8.zip |
get rid of compiler warnings (casts and delete unused variables)
(This used to be commit 51cb4411df61d1caec9d84809b1a53a6a632f808)
Diffstat (limited to 'source3/lib/iconv.c')
-rw-r--r-- | source3/lib/iconv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/iconv.c b/source3/lib/iconv.c index cf9fabf8c6..8bcd92d72a 100644 --- a/source3/lib/iconv.c +++ b/source3/lib/iconv.c @@ -86,7 +86,7 @@ size_t smb_iconv(smb_iconv_t cd, /* in many cases we can go direct */ if (cd->direct) { return cd->direct(cd->cd_direct, - inbuf, inbytesleft, outbuf, outbytesleft); + (char **)inbuf, inbytesleft, outbuf, outbytesleft); } @@ -96,7 +96,7 @@ size_t smb_iconv(smb_iconv_t cd, bufsize = sizeof(cvtbuf); if (cd->pull(cd->cd_pull, - inbuf, inbytesleft, &bufp, &bufsize) == -1 + (char **)inbuf, inbytesleft, &bufp, &bufsize) == -1 && errno != E2BIG) return -1; bufp = cvtbuf; |