diff -r 64e456ab823d -r a23b5089b9c3 ccdemos/textures.cc --- a/ccdemos/textures.cc Fri Apr 04 13:54:47 2008 +0200 +++ b/ccdemos/textures.cc Tue Apr 08 01:05:12 2008 +0200 @@ -285,7 +285,7 @@ new_image(&img, w, h, 3); Float *fd = fdata; - for (char *cd = img->data; cd != img->data + w*h*3; cd++, fd++) { + for (unsigned char *cd = img->data; cd != img->data + w*h*3; cd++, fd++) { if (*fd > 1.0) *cd = 255; else