Fixed compile warning with latest mingw32 compiler

This commit is contained in:
Sam Lantinga 2010-07-05 12:32:44 -07:00
parent 5f38782163
commit 7ea6ef0d5a

View file

@ -39,7 +39,7 @@ struct SDL_semaphore
#else
HANDLE id;
#endif
Uint32 volatile count;
LONG volatile count;
};
@ -143,7 +143,7 @@ SDL_SemValue(SDL_sem * sem)
SDL_SetError("Passed a NULL sem");
return 0;
}
return sem->count;
return (Uint32)sem->count;
}
int