projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6fa195
)
warning: fix conversion to 'int' from 'size_t'
author
Daniel Stenberg
<daniel@haxx.se>
Sun, 5 Sep 2010 22:18:58 +0000
(
00:18
+0200)
committer
Daniel Stenberg
<daniel@haxx.se>
Sun, 5 Sep 2010 22:18:58 +0000
(
00:18
+0200)
lib/gopher.c
patch
|
blob
|
history
diff --git
a/lib/gopher.c
b/lib/gopher.c
index
5451b2d
..
aa9c45b
100644
(file)
--- 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;