fix MSVC /Wp64 warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -321,7 +321,7 @@ public:
|
|||||||
|
|
||||||
virtual ExitCode Entry()
|
virtual ExitCode Entry()
|
||||||
{
|
{
|
||||||
return (ExitCode)EXEC(m_command);
|
return wxUIntToPtr(EXEC(m_command));
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
@@ -674,7 +674,7 @@ void MyFrame::OnExecThread(wxCommandEvent& WXUNUSED(event))
|
|||||||
thread.Run();
|
thread.Run();
|
||||||
|
|
||||||
wxLogMessage(wxT("The exit code from a child thread is %ld"),
|
wxLogMessage(wxT("The exit code from a child thread is %ld"),
|
||||||
(long)thread.Wait());
|
(long)wxPtrToUInt(thread.Wait()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void MyFrame::OnShowCPUs(wxCommandEvent& WXUNUSED(event))
|
void MyFrame::OnShowCPUs(wxCommandEvent& WXUNUSED(event))
|
||||||
|
Reference in New Issue
Block a user