src/thread/os2/SDL_systhread.c
changeset 1443 9ebbbb4ae53b
parent 1442 e3242177fe4a
child 1662 782fd950bd46
child 1895 c121d94672cb
child 4159 a1b03ba2fcd0
--- 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);