summaryrefslogtreecommitdiff
path: root/examples/decode_gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/decode_gif.c')
-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 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)