From f7bc0cf850db8b811742f89eb66fb270d48a5c0a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Mon, 26 May 2008 10:41:46 +0000 Subject: Squash warning svn path=/trunk/netsurf/; revision=4209 --- image/nssprite.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'image') diff --git a/image/nssprite.c b/image/nssprite.c index cd238b286..c9aff34e9 100644 --- a/image/nssprite.c +++ b/image/nssprite.c @@ -59,7 +59,8 @@ bool nssprite_convert(struct content *c, int width, int height) { struct rosprite_mem_context* ctx; - ERRCHK(rosprite_create_mem_context(c->source_data, c->total_size, &ctx)); + ERRCHK(rosprite_create_mem_context((uint8_t *) c->source_data, + c->total_size, &ctx)); struct rosprite_area* sprite_area; ERRCHK(rosprite_load(rosprite_mem_reader, ctx, &sprite_area)); -- cgit v1.2.3