]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/thread/atomic.cpp
Fixed clicking on MSW slider not changing value with small ranges.
[wxWidgets.git] / tests / thread / atomic.cpp
index 1170093e440001d6f62629e25e34d1f26fe2a79a..913aabf300cd2475724a0b327eff9dacb0e077e9 100644 (file)
@@ -93,7 +93,7 @@ private:
 // register in the unnamed registry so that these tests are run by default
 CPPUNIT_TEST_SUITE_REGISTRATION( AtomicTestCase );
 
-// also include in it's own registry so that these tests can be run alone
+// also include in its own registry so that these tests can be run alone
 CPPUNIT_TEST_SUITE_NAMED_REGISTRATION( AtomicTestCase, "AtomicTestCase" );
 
 void AtomicTestCase::TestNoThread()
@@ -195,5 +195,5 @@ void *AtomicTestCase::MyThread::Entry()
         }
     }
 
-    return (wxThread::ExitCode)negativeValuesSeen;
+    return wxUIntToPtr(negativeValuesSeen);
 }