From 1b5d9f07c8877121ecaa1391857ee6f130cb6205 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 20 Feb 2011 23:41:50 +0000 Subject: Squash warnings svn path=/trunk/netsurf/; revision=11745 --- content/fetchers/about.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'content/fetchers') 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)) -- cgit v1.2.3