Another attempt at fixing compiler warnings for SDLTest_SurfaceImage_t.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 03 Apr 2013 11:49:25 -0400
changeset 7053 187225ae13e5
parent 7052 1297b81ad473
child 7054 9a9d05664124
Another attempt at fixing compiler warnings for SDLTest_SurfaceImage_t.
include/SDL_test_images.h
test/automated/common/common.h
--- a/include/SDL_test_images.h	Wed Apr 03 11:48:03 2013 -0400
+++ b/include/SDL_test_images.h	Wed Apr 03 11:49:25 2013 -0400
@@ -53,7 +53,7 @@
   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 */
--- a/test/automated/common/common.h	Wed Apr 03 11:48:03 2013 -0400
+++ b/test/automated/common/common.h	Wed Apr 03 11:49:25 2013 -0400
@@ -22,7 +22,7 @@
    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