Mercurial > sdl-ios-xcode
diff src/thread/os2/SDL_systhread.c @ 1443:9ebbbb4ae53b
Fixed some OpenWatcom warnings
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 26 Feb 2006 19:37:40 +0000 |
parents | e3242177fe4a |
children | 782fd950bd46 c121d94672cb a1b03ba2fcd0 |
line wrap: on
line diff
--- a/src/thread/os2/SDL_systhread.c Sun Feb 26 19:30:21 2006 +0000 +++ b/src/thread/os2/SDL_systhread.c Sun Feb 26 19:37:40 2006 +0000 @@ -72,7 +72,7 @@ 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);