From 16d082f859939e7c595213a399f742447c435133 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sat, 18 Oct 2008 11:06:58 +0000 Subject: [PATCH] Fix compilation warnings on platforms without Imlib2. --- src/aafire.c | 2 +- src/common-image.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aafire.c b/src/aafire.c index aee8b29..921decb 100644 --- a/src/aafire.c +++ b/src/aafire.c @@ -96,7 +96,7 @@ initialize (void) { int i; #ifdef LIBCACA - unsigned int r[256], g[256], b[256], a[256]; + uint32_t r[256], g[256], b[256], a[256]; #endif #ifdef LIBCACA diff --git a/src/common-image.c b/src/common-image.c index acab4f2..4182a07 100644 --- a/src/common-image.c +++ b/src/common-image.c @@ -75,7 +75,7 @@ struct image * load_image(char const * name) #else /* Try to load a BMP file */ - unsigned int red[256], green[256], blue[256], alpha[256]; + uint32_t red[256], green[256], blue[256], alpha[256]; unsigned int i, colors, offset, tmp, planes; caca_file_t *f;