git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe8d61e
)
Get rid of compiler warning about iconv()'s second parameter.
author
Wayne Davison
<wayned@samba.org>
Mon, 21 May 2007 03:56:06 +0000
(
03:56
+0000)
committer
Wayne Davison
<wayned@samba.org>
Mon, 21 May 2007 03:56:06 +0000
(
03:56
+0000)
flist.c
patch
|
blob
|
history
diff --git
a/flist.c
b/flist.c
index 2b38ccbe96af769deb90ab9c05ae103b409a6ba1..1fd20f58e16b0ed51c22b9a3c81c07a40d4c7ee9 100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-643,7
+643,8
@@
static struct file_struct *recv_file_entry(struct file_list *flist,
#ifdef ICONV_OPTION
if (ic_recv != (iconv_t)-1) {
- char *obuf = thisname, *ibuf = lastname;
+ char *obuf = thisname;
+ ICONV_CONST char *ibuf = (ICONV_CONST char *)lastname;
size_t ocnt = MAXPATHLEN, icnt = basename_len;
if (icnt >= MAXPATHLEN) {