branch | pyrit |
changeset 60 | a23b5089b9c3 |
parent 48 | a4913301c626 |
child 72 | 7c3f38dff082 |
--- 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