X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.main.git;a=blobdiff_plain;f=pctb%2Fstructure.h;h=0ad92a618e62386844f2ac50ebf652ac981ce754;hp=3e30e28c65dca183412c7b77ded3a7797890c412;hb=8360f12a6a457b73ebb18dbeedbb15e6ed91318b;hpb=74e4e249f2c3e848592984cb193aded6a77a341d diff --git a/pctb/structure.h b/pctb/structure.h index 3e30e28..0ad92a6 100644 --- a/pctb/structure.h +++ b/pctb/structure.h @@ -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; \