From de5363f39979f890595b3ae9ad0e62a6b13a7c9a Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Mon, 24 Nov 2008 21:43:02 +0000 Subject: [PATCH] Disable spurious warning --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403241 --- src/video/SDL_blit_copy.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/video/SDL_blit_copy.c b/src/video/SDL_blit_copy.c index 3d816b2cd..c5304125d 100644 --- a/src/video/SDL_blit_copy.c +++ b/src/video/SDL_blit_copy.c @@ -54,6 +54,9 @@ SDL_memcpySSE(Uint8 * dst, const Uint8 * src, int len) #endif /* __SSE__ */ #ifdef __MMX__ +#ifdef _MSC_VER +#pragma warning(disable:4799) +#endif /* This assumes 8-byte aligned src and dst */ static __inline__ void SDL_memcpyMMX(Uint8 * dst, const Uint8 * src, int len)