X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cf1b4969b906017a087f10ab105e3ebf27f93265..19395697b9f9693c72af8c83c5be7313123476ac:/flist.c diff --git a/flist.c b/flist.c index 2b38ccbe..1fd20f58 100644 --- 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) {