From 2efd40652d6645a7b8c57f6a5bb6c67ee2fc8fbd Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 3 Nov 2013 09:42:23 -0800 Subject: [PATCH] Clarified that SDL_memset4 is a 32-bit assignment and fixed a compiler warning --- include/SDL_stdinc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index 8f17d5519a451..f0780a21796ff 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -255,7 +255,7 @@ extern DECLSPEC void *SDLCALL SDL_memset(void *dst, int c, size_t len); #define SDL_zerop(x) SDL_memset((x), 0, sizeof(*(x))) /* Note that memset() is a byte assignment and this is a 32-bit assignment, so they're not directly equivalent. */ -SDL_FORCE_INLINE void SDL_memset4(void *dst, int val, size_t dwords) +SDL_FORCE_INLINE void SDL_memset4(void *dst, Uint32 val, size_t dwords) { #if defined(__GNUC__) && defined(i386) int u0, u1, u2;