X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=src%2Fftp-ls.c;h=d9077a375e55541d86bd142eb982d4da4d8060cf;hp=1039a43d88d144642ab94cd455fcbd1c48dc8293;hb=38a7829dcb4eb5dba28dbf0f05c6a80fea9217f8;hpb=bba67890f381a0fd3222fc5763b742d1520746c3 diff --git a/src/ftp-ls.c b/src/ftp-ls.c index 1039a43d..d9077a37 100644 --- a/src/ftp-ls.c +++ b/src/ftp-ls.c @@ -895,7 +895,8 @@ ftp_parse_vms_ls (const char *file) /* Protections (permissions). */ perms = 0; j = 0; - for (i = 0; i < strlen(tok); i++) + /*FIXME: Should not be using the variable like this. */ + for (i = 0; i < (int) strlen(tok); i++) { switch (tok[ i]) {