X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42124e683da03a7a7463ad9e37d15fda575348af..968b44d37b9fcdc5232fb68312a65e4fc6b5f4ab:/tests/thread/atomic.cpp diff --git a/tests/thread/atomic.cpp b/tests/thread/atomic.cpp index 1170093e44..913aabf300 100644 --- a/tests/thread/atomic.cpp +++ b/tests/thread/atomic.cpp @@ -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); }