Browse Source

Fix compilation warnings on platforms without Imlib2.

tags/v0.99.beta16
Sam Hocevar sam 16 years ago
parent
commit
16d082f859
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/aafire.c
  2. +1
    -1
      src/common-image.c

+ 1
- 1
src/aafire.c View File

@@ -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


+ 1
- 1
src/common-image.c View File

@@ -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;



Loading…
Cancel
Save