diff --git a/tests/thread/atomic.cpp b/tests/thread/atomic.cpp index 1170093e44..9f7b01032c 100644 --- a/tests/thread/atomic.cpp +++ b/tests/thread/atomic.cpp @@ -195,5 +195,5 @@ void *AtomicTestCase::MyThread::Entry() } } - return (wxThread::ExitCode)negativeValuesSeen; + return wxUIntToPtr(negativeValuesSeen); }