mirror of
https://github.com/yawut/SDL.git
synced 2026-08-17 22:36:37 -05:00
Another attempt at fixing compiler warnings for SDLTest_SurfaceImage_t.
This commit is contained in:
@@ -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 */
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user