Fixed type-punning issue (casting to char* makes GCC strict-aliasing happy).
1.1 --- a/src/video/dga/SDL_dgavideo.c Wed Nov 16 21:10:03 2011 -0500
1.2 +++ b/src/video/dga/SDL_dgavideo.c Wed Nov 16 21:12:47 2011 -0500
1.3 @@ -651,7 +651,7 @@
1.4 surfaces.base = screen->pixels;
1.5 surfaces.size = (unsigned int)((long)base - (long)surfaces.base);
1.6 surfaces.next = bucket;
1.7 - screen->hwdata = (struct private_hwdata *)&surfaces;
1.8 + screen->hwdata = (struct private_hwdata *)((char*)&surfaces);
1.9 return(0);
1.10 }
1.11 static void DGA_FreeHWSurfaces(_THIS)