uint8_t changed to unsigned char (barfed on MSVC)
authorPeter Schlaile <peter@schlaile.de>
Sun, 5 Feb 2006 23:08:30 +0000 (23:08 +0000)
committerPeter Schlaile <peter@schlaile.de>
Sun, 5 Feb 2006 23:08:30 +0000 (23:08 +0000)
source/blender/blenkernel/intern/writeframeserver.c

index 75bf0750766ccf54c6c433a0545a6c7d3ad2efe3..cea94d2f5f22beba18c6704f5166fb171b4b34da 100644 (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];