summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-02-20 23:41:50 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-02-20 23:41:50 +0000
commit1b5d9f07c8877121ecaa1391857ee6f130cb6205 (patch)
tree7565f552048d775c55d3d26a108adb9f951d4eb1
parentc70ed3d5adba5dce798decafd54459bd17674a20 (diff)
downloadnetsurf-1b5d9f07c8877121ecaa1391857ee6f130cb6205.tar.gz
netsurf-1b5d9f07c8877121ecaa1391857ee6f130cb6205.tar.bz2
Squash warnings
svn path=/trunk/netsurf/; revision=11745
-rw-r--r--content/fetchers/about.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index c5d421c29..8ed112200 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -205,7 +205,7 @@ static bool fetch_about_config_handler(struct fetch_about_context *ctx)
if (res <= 0)
break; /* last option */
- if (res >= (sizeof buffer - slen)) {
+ if (res >= (int) (sizeof buffer - slen)) {
/* last entry would not fit in buffer, submit buffer */
if (fetch_about_send_callback(FETCH_DATA, ctx, buffer,
slen, FETCH_ERROR_NO_ERROR))
@@ -263,7 +263,7 @@ static bool fetch_about_choices_handler(struct fetch_about_context *ctx)
if (res <= 0)
break; /* last option */
- if (res >= (sizeof buffer - slen)) {
+ if (res >= (int) (sizeof buffer - slen)) {
/* last entry would not fit in buffer, submit buffer */
if (fetch_about_send_callback(FETCH_DATA, ctx, buffer,
slen, FETCH_ERROR_NO_ERROR))