]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
signed/unsigned comparison warning fixed
[wxWidgets.git] / src / msw / thread.cpp
index ac439b82c2b2b1125698cc7a1ff451fddfd6caea..30484e2c86debec6b7df855ac32cc054ffcfc4dc 100644 (file)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma implementation "thread.h"
-#endif
-
 // ----------------------------------------------------------------------------
 // headers
 // ----------------------------------------------------------------------------
@@ -929,7 +925,7 @@ bool wxThread::SetConcurrency(size_t WXUNUSED_IN_WINCE(level))
             dwProcMask |= bit;
 
             // another process added
-            if ( !--level )
+            if ( --level == 0 )
             {
                 // and that's enough
                 break;