Fixed some OpenWatcom warnings

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401447
This commit is contained in:
Sam Lantinga 2006-02-26 19:37:40 +00:00
parent 46f459a736
commit 66a8f11c20
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);