summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-06-03 22:17:35 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-06-03 22:17:35 +0000
commit5015eb6e87fb922b1e85a1c32dee413ec5b3eaa5 (patch)
treedd662a8f7c2068eb3df2b6c78e913753af896ac9 /content
parentb661f3deafd67876706cb2e5e39eaeef7620931a (diff)
downloadnetsurf-5015eb6e87fb922b1e85a1c32dee413ec5b3eaa5.tar.gz
netsurf-5015eb6e87fb922b1e85a1c32dee413ec5b3eaa5.tar.bz2
Squash warning
svn path=/trunk/netsurf/; revision=4257
Diffstat (limited to 'content')
-rw-r--r--content/fetchcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/fetchcache.c b/content/fetchcache.c
index 7f222ff1d..31a869759 100644
--- a/content/fetchcache.c
+++ b/content/fetchcache.c
@@ -691,7 +691,7 @@ void fetchcache_parse_header(struct content *c, const char *data,
SKIP_ST(5);
strncpy(c->cache_data.etag, data + i, size - i);
c->cache_data.etag[size - i] = '\0';
- for (i = size - i - 1; i >= 0 &&
+ for (i = size - i - 1; ((int) i) >= 0 &&
(c->cache_data.etag[i] == ' ' ||
c->cache_data.etag[i] == '\t' ||
c->cache_data.etag[i] == '\r' ||