changeset 2780:cc15254e44b6

Disable spurious warning
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Nov 2008 21:43:02 +0000
parents 4436464c4f51
children 5651642f4a78
files src/video/SDL_blit_copy.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/video/SDL_blit_copy.c	Mon Nov 24 00:18:42 2008 +0000
+++ b/src/video/SDL_blit_copy.c	Mon Nov 24 21:43:02 2008 +0000
@@ -54,6 +54,9 @@
 #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)