diff --git a/appl/ftp/ftpd/ls.c b/appl/ftp/ftpd/ls.c index e96ce3feb..5636d288a 100644 --- a/appl/ftp/ftpd/ls.c +++ b/appl/ftp/ftpd/ls.c @@ -182,7 +182,7 @@ make_fileinfo(const char *filename, struct fileinfo *file, int flags) } if(S_ISLNK(st->st_mode)) { int n; - n = readlink(filename, buf, sizeof(buf)); + n = readlink((char *)filename, buf, sizeof(buf)); if(n >= 0) { buf[n] = '\0'; file->link = strdup(buf);