From e60e274111b07a319cc95cf1462498eeeed4f2ce Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Sun, 15 Jun 2008 12:28:18 +0000 Subject: [PATCH] * Fix cucul_set_dither_palette() argument types in cacademo. --- src/cacademo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cacademo.c b/src/cacademo.c index 41324a6..880c0ce 100644 --- a/src/cacademo.c +++ b/src/cacademo.c @@ -322,7 +322,7 @@ void plasma(enum action action, cucul_canvas_t *cv) { static cucul_dither_t *dither; static uint8_t *screen; - static unsigned int red[256], green[256], blue[256], alpha[256]; + static uint32_t red[256], green[256], blue[256], alpha[256]; static double r[3], R[6]; int i, x, y; @@ -429,7 +429,7 @@ void metaballs(enum action action, cucul_canvas_t *cv) { static cucul_dither_t *cucul_dither; static uint8_t *screen; - static unsigned int r[256], g[256], b[256], a[256]; + static uint32_t r[256], g[256], b[256], a[256]; static float dd[METABALLS], di[METABALLS], dj[METABALLS], dk[METABALLS]; static unsigned int x[METABALLS], y[METABALLS]; static float i = 10.0, j = 17.0, k = 11.0; @@ -581,7 +581,7 @@ void moire(enum action action, cucul_canvas_t *cv) static cucul_dither_t *dither; static uint8_t *screen; static float d[6]; - static unsigned int red[256], green[256], blue[256], alpha[256]; + static uint32_t red[256], green[256], blue[256], alpha[256]; int i, x, y;