Index: /libcaca/trunk/caca/dither.c
===================================================================
--- /libcaca/trunk/caca/dither.c	(revision 3645)
+++ /libcaca/trunk/caca/dither.c	(revision 3646)
@@ -173,5 +173,5 @@
 static float gammapow(float x, float y);
 
-static void get_rgba_default(caca_dither_t const *, uint8_t *, int, int,
+static void get_rgba_default(caca_dither_t const *, uint8_t const *, int, int,
                              unsigned int *);
 static int init_lookup(void);
@@ -941,5 +941,5 @@
  */
 int caca_dither_bitmap(caca_canvas_t *cv, int x, int y, int w, int h,
-                        caca_dither_t const *d, void *pixels)
+                        caca_dither_t const *d, void const *pixels)
 {
     int *floyd_steinberg, *fs_r, *fs_g, *fs_b;
@@ -1312,5 +1312,5 @@
 }
 
-static void get_rgba_default(caca_dither_t const *d, uint8_t *pixels,
+static void get_rgba_default(caca_dither_t const *d, uint8_t const *pixels,
                              int x, int y, unsigned int *rgba)
 {
@@ -1322,5 +1322,5 @@
     {
         case 4:
-            bits = *(uint32_t *)pixels;
+            bits = *(uint32_t const *)pixels;
             break;
         case 3:
@@ -1343,5 +1343,5 @@
         }
         case 2:
-            bits = *(uint16_t *)pixels;
+            bits = *(uint16_t const *)pixels;
             break;
         case 1:
Index: /libcaca/trunk/caca/caca.h
===================================================================
--- /libcaca/trunk/caca/caca.h	(revision 3645)
+++ /libcaca/trunk/caca/caca.h	(revision 3646)
@@ -390,5 +390,5 @@
 __extern char const * caca_get_dither_algorithm(caca_dither_t const *);
 __extern int caca_dither_bitmap(caca_canvas_t *, int, int, int, int,
-                         caca_dither_t const *, void *);
+                         caca_dither_t const *, void const *);
 __extern int caca_free_dither(caca_dither_t *);
 /*  @} */
