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 7053187225ae13e5
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
     1.1 --- a/include/SDL_test_images.h	Wed Apr 03 11:48:03 2013 -0400
     1.2 +++ b/include/SDL_test_images.h	Wed Apr 03 11:49:25 2013 -0400
     1.3 @@ -53,7 +53,7 @@
     1.4    int width;
     1.5    int height;
     1.6    unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ 
     1.7 -  const unsigned char *pixel_data;
     1.8 +  const char *pixel_data;
     1.9  } SDLTest_SurfaceImage_t;
    1.10  
    1.11  /* Test images */
     2.1 --- a/test/automated/common/common.h	Wed Apr 03 11:48:03 2013 -0400
     2.2 +++ b/test/automated/common/common.h	Wed Apr 03 11:49:25 2013 -0400
     2.3 @@ -22,7 +22,7 @@
     2.4     int width;
     2.5     int height;
     2.6     unsigned int  bytes_per_pixel; /* 3:RGB, 4:RGBA */ 
     2.7 -   const unsigned char *pixel_data;
     2.8 +   const char *pixel_data;
     2.9  } SurfaceImage_t;
    2.10  
    2.11  #define ALLOWABLE_ERROR_OPAQUE	0