chiark / gitweb /
WIP island determination; can recognise a pixmap!
[ypp-sc-tools.main.git] / pctb / structure.h
index 3e30e28c65dca183412c7b77ded3a7797890c412..0ad92a618e62386844f2ac50ebf652ac981ce754 100644 (file)
@@ -79,7 +79,7 @@ CanonImage *alloc_canon_image(int w, int h);
 
 #define CANONIMG_ALSO_STORERGB(ri)             \
   do{                                          \
-    char *rip= RI_PIXEL((ri),x,y);             \
+    unsigned char *rip= RI_PIXEL((ri),x,y);    \
     rip[0]= rgb >> 16;                         \
     rip[1]= rgb >> 8;                          \
     rip[2]= rgb;                               \