From bd6ec2519044d166b7f2f5e8f949667a3d4c3317 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 10 Jun 2004 22:39:56 +0000 Subject: [project @ 2004-06-10 22:39:56 by jmb] Compiler warning purge svn path=/import/netsurf/; revision=954 --- content/content.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content') diff --git a/content/content.c b/content/content.c index 268b36433..3974e90fd 100644 --- a/content/content.c +++ b/content/content.c @@ -328,7 +328,7 @@ void content_set_status(struct content *c, const char *status_message, ...) va_start(ap, status_message); if ((len = vsnprintf(c->status_message, sizeof(c->status_message), status_message, ap)) < 0 - || len >= sizeof(c->status_message)) + || len >= (int)sizeof(c->status_message)) c->status_message[sizeof(c->status_message) - 1] = '\0'; va_end(ap); } -- cgit v1.2.3