Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Another attempt at fixing compiler warnings for SDLTest_SurfaceImage_t.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 3, 2013
1 parent c1eee50 commit a85eacc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/SDL_test_images.h
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion test/automated/common/common.h
Expand Up @@ -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
Expand Down

0 comments on commit a85eacc

Please sign in to comment.