Explorar el Código

Fix compilation warnings on platforms without Imlib2.

tags/v0.99.beta16
Sam Hocevar sam hace 16 años
padre
commit
16d082f859
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. +1
    -1
      src/aafire.c
  2. +1
    -1
      src/common-image.c

+ 1
- 1
src/aafire.c Ver fichero

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

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



Cargando…
Cancelar
Guardar