Disable spurious warning
authorSam Lantinga <slouken@libsdl.org>
Mon, 24 Nov 2008 21:43:02 +0000
changeset 2780 cc15254e44b6
parent 2779 4436464c4f51
child 2781 5651642f4a78
Disable spurious warning
src/video/SDL_blit_copy.c
--- 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)