From 3c656a46ecce01d93c96d6a173f7aec62f5432e3 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 12 May 2014 13:14:39 +0000 Subject: [PATCH] Fix cast from "void*" to integer type in wxThread::Exit() for non-MSVC. This fixes another problem in 64 bit Cygwin build. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index b99c03f2d5..60aa6487d3 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -1196,7 +1196,7 @@ void wxThread::Exit(ExitCode status) #ifdef wxUSE_BEGIN_THREAD _endthreadex(wxPtrToUInt(status)); #else // !VC++ - ::ExitThread((DWORD)status); + ::ExitThread(wxPtrToUInt(status)); #endif // VC++/!VC++ wxFAIL_MSG(wxT("Couldn't return from ExitThread()!"));