SDL-mirror/src/stdlib
Yuri Kunde Schlesner 9483e21015 Align pointer in SDL_memset before doing Uint32 loop
Some more recent compilers emit SSE aligned store instructions for the loop,
causing crashes if the destination buffer isn't aligned on a 32-bit boundary.
This would also crash on platforms like ARM that require aligned stores.

This fixes a crash inside SDL_FillRect that happens with the official x64 mingw
build.

--HG--
extra : rebase_source : afd0f856fd814e7345bd0c7d20ddac3ba0422813
2014-05-10 21:48:46 -03:00
..
SDL_getenv.c Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite 2014-03-19 21:39:55 -07:00
SDL_iconv.c Fixed bug 2374 - Update copyright for 2014... 2014-02-02 00:53:27 -08:00
SDL_malloc.c Temporary fix for bug 2494 - Crashes due to the non thread-safe SDL_malloc/SDL_free on Windows 2014-05-10 11:27:43 -07:00
SDL_qsort.c Make internal SDL sources include SDL_internal.h instead of SDL_config.h 2013-11-24 23:56:17 -05:00
SDL_stdlib.c Integrated David Ludwig's support for Windows RT 2014-03-09 11:36:47 -07:00
SDL_string.c Align pointer in SDL_memset before doing Uint32 loop 2014-05-10 21:48:46 -03:00