]> granicus.if.org Git - curl/commitdiff
make nlen a size_t to better hold diffs between pointers etc
authorDaniel Stenberg <daniel@haxx.se>
Thu, 22 Nov 2007 09:39:04 +0000 (09:39 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 22 Nov 2007 09:39:04 +0000 (09:39 +0000)
src/main.c

index 862a9460b0cb128bbbee10dc900daa243ad3b23a..d53a8628d858e7d6bc5107d86b7da0ff35844def 100644 (file)
@@ -2059,7 +2059,7 @@ static ParameterError getparameter(char *flag, /* f or -long-flag */
            */
           char *p = strchr(nextarg, '=');
           long size = 0;
-          int nlen;
+          size_t nlen;
           char is_file;
           if(!p)
             p = strchr(nextarg, '@');