summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSean Fox <dyntryx@gmail.com>2008-07-01 10:28:47 +0000
committerSean Fox <dyntryx@gmail.com>2008-07-01 10:28:47 +0000
commit8e9497e6d751521fe493bc201b56d5b0594eb7ab (patch)
treefa789648fd8a594056d8b171541c91f9d6d1d53e /examples
parentf93d20f3f5dbb40e706a951d628140baeb4880db (diff)
downloadlibnsgif-8e9497e6d751521fe493bc201b56d5b0594eb7ab.tar.gz
libnsgif-8e9497e6d751521fe493bc201b56d5b0594eb7ab.tar.bz2
Corrected the return type for bitmap_get_buffer in the gif decoding example
svn path=/branches/dynis/libnsgif/; revision=4488
Diffstat (limited to 'examples')
-rw-r--r--examples/decode_gif.c4
1 files changed, 2 insertions, 2 deletions
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;