From 1cf46a6792a9e243edb857e131e44338bcbbd341 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 25 Feb 2008 17:58:00 +0000 Subject: SignednessWarnings.squash() Aside from a number of instances of const being cast away (mostly relating to the urldb, which is correct to only export const data) this now builds warning-free with GCC 4 on x86, which is nice. svn path=/trunk/netsurf/; revision=3868 --- image/gif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image/gif.c') diff --git a/image/gif.c b/image/gif.c index fb6c559db..657f1a666 100644 --- a/image/gif.c +++ b/image/gif.c @@ -73,7 +73,7 @@ bool nsgif_convert(struct content *c, int iwidth, int iheight) { /* Create our animation */ gif = c->data.gif.gif; - gif->gif_data = c->source_data; + gif->gif_data = (unsigned char *) c->source_data; gif->buffer_size = c->source_size; gif->buffer_position = 0; -- cgit v1.2.3