X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42124e683da03a7a7463ad9e37d15fda575348af..85d64f6aa1d657b9463cb0cefedc5dbbf1facfac:/tests/thread/atomic.cpp?ds=inline diff --git a/tests/thread/atomic.cpp b/tests/thread/atomic.cpp index 1170093e44..69123f7566 100644 --- a/tests/thread/atomic.cpp +++ b/tests/thread/atomic.cpp @@ -3,7 +3,6 @@ // Purpose: wxAtomic??? unit test // Author: Armel Asselin // Created: 2006-12-14 -// RCS-ID: $Id$ // Copyright: (c) 2006 Armel Asselin /////////////////////////////////////////////////////////////////////////////// @@ -93,7 +92,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 +194,5 @@ void *AtomicTestCase::MyThread::Entry() } } - return (wxThread::ExitCode)negativeValuesSeen; + return wxUIntToPtr(negativeValuesSeen); }