# HG changeset patch # User Sam Lantinga # Date 1278358364 25200 # Node ID 883a2f2ff43f89a539736ab143e364468729bb7d # Parent 1190230578812b675f762543cb692f13575d300b Fixed compile warning with latest mingw32 compiler diff -r 119023057881 -r 883a2f2ff43f src/thread/win32/SDL_syssem.c --- 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