diff -r 64e456ab823d -r a23b5089b9c3 ccdemos/spheres_shadow.cc --- a/ccdemos/spheres_shadow.cc Fri Apr 04 13:54:47 2008 +0200 +++ b/ccdemos/spheres_shadow.cc Tue Apr 08 01:05:12 2008 +0200 @@ -118,7 +118,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