From 5d7db2d67b65963955beb05d30184ac28d898ddb Mon Sep 17 00:00:00 2001 From: Sean Fox Date: Thu, 26 Jun 2008 23:47:31 +0000 Subject: Minor corrections; lib caller must now free gif_data svn path=/branches/dynis/libnsgif/; revision=4459 --- 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 9c7a40f..5e136c7 100644 --- a/examples/decode_gif.c +++ b/examples/decode_gif.c @@ -48,7 +48,7 @@ int main(int argc, char *argv[]) }; gif_animation gif; size_t size; - int code; + gif_result code; unsigned int i; if (argc != 2) { @@ -151,7 +151,7 @@ unsigned char *load_file(const char *path, size_t *data_size) } -void warning(const char *context, int code) +void warning(const char *context, gif_result code) { fprintf(stderr, "%s failed: ", context); switch (code) -- cgit v1.2.3