]> git.saurik.com Git - wxWidgets.git/commitdiff
suppress warning about casting int to a pointer of greater size
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jun 2008 20:45:50 +0000 (20:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 2 Jun 2008 20:45:50 +0000 (20:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

tests/thread/atomic.cpp

index 1170093e440001d6f62629e25e34d1f26fe2a79a..9f7b01032c045d026e10bbc335c3fa09dc15a7c4 100644 (file)
@@ -195,5 +195,5 @@ void *AtomicTestCase::MyThread::Entry()
         }
     }
 
         }
     }
 
-    return (wxThread::ExitCode)negativeValuesSeen;
+    return wxUIntToPtr(negativeValuesSeen);
 }
 }