diff --git a/include/SDL_test_images.h b/include/SDL_test_images.h index 70c96898e..a57e6e4c5 100644 --- a/include/SDL_test_images.h +++ b/include/SDL_test_images.h @@ -53,7 +53,7 @@ typedef struct SDLTest_SurfaceImage_s { int width; int height; unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */ - unsigned char pixel_data[]; + unsigned char pixel_data[0]; } SDLTest_SurfaceImage_t; /* Test images */