Another attempt at fixing compiler warnings for SDLTest_SurfaceImage_t.

This commit is contained in:
Ryan C. Gordon
2013-04-03 11:49:25 -04:00
parent 5b551af664
commit f3c21ea99e
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ typedef struct SDLTest_SurfaceImage_s {
int width;
int height;
unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */
const unsigned char *pixel_data;
const char *pixel_data;
} SDLTest_SurfaceImage_t;
/* Test images */

View File

@@ -22,7 +22,7 @@ typedef struct SurfaceImage_s {
int width;
int height;
unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */
const unsigned char *pixel_data;
const char *pixel_data;
} SurfaceImage_t;
#define ALLOWABLE_ERROR_OPAQUE 0