uint8_t changed to unsigned char (barfed on MSVC)

This commit is contained in:
2006-02-05 23:08:30 +00:00
parent 0946b399c6
commit 38fe80f402

View File

@@ -321,9 +321,9 @@ static void serve_ppm(int *pixels, int rectx, int recty)
rendered_frame = pixels;
for (y = recty - 1; y >= 0; y--) {
uint8_t* target = row;
uint8_t* src = rendered_frame + rectx * 4 * y;
uint8_t* end = src + rectx * 4;
unsigned char* target = row;
unsigned char* src = rendered_frame + rectx * 4 * y;
unsigned char* end = src + rectx * 4;
while (src != end) {
target[2] = src[2];
target[1] = src[1];