From 62ef4652624cac5dac86f33f51fbf80c4dd9f063 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 6 Sep 2010 00:18:58 +0200 Subject: [PATCH] warning: fix conversion to 'int' from 'size_t' --- lib/gopher.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;