changeset 4475:883a2f2ff43f

Fixed compile warning with latest mingw32 compiler
author Sam Lantinga <slouken@libsdl.org>
date Mon, 05 Jul 2010 12:32:44 -0700
parents 119023057881
children 890fe3b85890
files src/thread/win32/SDL_syssem.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/thread/win32/SDL_syssem.c	Sun Jun 27 23:17:36 2010 -0700
+++ b/src/thread/win32/SDL_syssem.c	Mon Jul 05 12:32:44 2010 -0700
@@ -39,7 +39,7 @@
 #else
     HANDLE id;
 #endif
-    Uint32 volatile count;
+    LONG volatile count;
 };
 
 
@@ -143,7 +143,7 @@
         SDL_SetError("Passed a NULL sem");
         return 0;
     }
-    return sem->count;
+    return (Uint32)sem->count;
 }
 
 int