Changeset 2961


Ignore:
Timestamp:
Oct 18, 2008, 1:06:58 PM (11 years ago)
Author:
Sam Hocevar
Message:

Fix compilation warnings on platforms without Imlib2.

Location:
libcaca/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/aafire.c

    r2821 r2961  
    9797  int i;
    9898#ifdef LIBCACA
    99   unsigned int r[256], g[256], b[256], a[256];
     99  uint32_t r[256], g[256], b[256], a[256];
    100100#endif
    101101
  • libcaca/trunk/src/common-image.c

    r2821 r2961  
    7676#else
    7777    /* Try to load a BMP file */
    78     unsigned int red[256], green[256], blue[256], alpha[256];
     78    uint32_t red[256], green[256], blue[256], alpha[256];
    7979    unsigned int i, colors, offset, tmp, planes;
    8080    caca_file_t *f;
Note: See TracChangeset for help on using the changeset viewer.