warning: fix conversion to 'int' from 'size_t'
authorDaniel Stenberg <daniel@haxx.se>
Sun, 5 Sep 2010 22:18:58 +0000 (00:18 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 5 Sep 2010 22:18:58 +0000 (00:18 +0200)
lib/gopher.c

index 5451b2d..aa9c45b 100644 (file)
@@ -134,7 +134,8 @@ static CURLcode gopher_do(struct connectdata *conn, bool *done)
     sel = (char *)"";
   else {
     char *newp;
-    int i, j, len;
+    size_t j, i;
+    int len;
 
     /* Otherwise, drop / and the first character (i.e., item type) ... */
     newp = path;