From 8e9497e6d751521fe493bc201b56d5b0594eb7ab Mon Sep 17 00:00:00 2001 From: Sean Fox Date: Tue, 1 Jul 2008 10:28:47 +0000 Subject: Corrected the return type for bitmap_get_buffer in the gif decoding example svn path=/branches/dynis/libnsgif/; revision=4488 --- examples/decode_gif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/decode_gif.c b/examples/decode_gif.c index fc508fd..6f77fb1 100644 --- a/examples/decode_gif.c +++ b/examples/decode_gif.c @@ -31,7 +31,7 @@ void warning(const char *context, int code); void *bitmap_create(int width, int height); void bitmap_set_opaque(void *bitmap, bool opaque); bool bitmap_test_opaque(void *bitmap); -char *bitmap_get_buffer(void *bitmap); +unsigned char *bitmap_get_buffer(void *bitmap); void bitmap_destroy(void *bitmap); void bitmap_modified(void *bitmap); @@ -199,7 +199,7 @@ bool bitmap_test_opaque(void *bitmap) } -char *bitmap_get_buffer(void *bitmap) +unsigned char *bitmap_get_buffer(void *bitmap) { assert(bitmap); return bitmap; -- cgit v1.2.3