summaryrefslogtreecommitdiff
path: root/image/gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'image/gif.c')
-rw-r--r--image/gif.c2
1 files changed, 1 insertions, 1 deletions
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;