From: Vadim Zeitlin Date: Mon, 2 Jun 2008 20:45:50 +0000 (+0000) Subject: suppress warning about casting int to a pointer of greater size X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c71396b42d0233b9358c841b96b69fb4b8cc5c44 suppress warning about casting int to a pointer of greater size git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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); }