aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-09-06 00:18:58 +0200
committerDaniel Stenberg <daniel@haxx.se>2010-09-06 00:18:58 +0200
commit62ef4652624cac5dac86f33f51fbf80c4dd9f063 (patch)
tree9801081cd9fdb12b80dae8249fdcc91f8a1abf7a
parentc6fa1952a14ba2fa14f4a3483f1f573560ef3133 (diff)
warning: fix conversion to 'int' from 'size_t'
-rw-r--r--lib/gopher.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gopher.c b/lib/gopher.c
index 5451b2d9f..aa9c45b0e 100644
--- a/lib/gopher.c
+++ b/lib/gopher.c
@@ -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;