From dc66476e4284ca329c4238953a7e4abd8d2f8ee6 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 28 Dec 2012 18:15:02 -0500 Subject: [PATCH] Fixing buildbot on Haiku. Damn you, gcc2. --- include/SDL_test_images.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */