Fixed some OpenWatcom warnings

This commit is contained in:
Sam Lantinga
2006-02-26 19:37:40 +00:00
parent aaf71291d0
commit cdf944a643
3 changed files with 13 additions and 11 deletions

View File

@@ -72,7 +72,7 @@ int SDL_SYS_CreateThread(SDL_Thread *thread, void *args, pfnSDL_CurrentBeginThre
pThreadParms->args = args;
// Start the thread using the runtime library of calling app!
thread->threadid = thread->handle = (*pfnBeginThread)(threadfunc, NULL, 512*1024, pThreadParms);
if (thread->threadid<=0)
if ((int)thread->threadid <= 0)
{
SDL_SetError("Not enough resources to create thread");
return(-1);