mirror of
https://github.com/yawut/SDL.git
synced 2026-09-11 10:36:27 -05:00
Fixed some OpenWatcom warnings
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user