Mercurial > sdl-ios-xcode
diff src/thread/win32/SDL_syssem.c @ 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 | f7b03b6838cb |
children |
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