Commit 58a37ed3 authored by Wayne Davison's avatar Wayne Davison

Get rid of compiler warning about iconv()'s second parameter.

parent fe8d61e5
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment