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:
parent
1033a7cc58
commit
cd431efcdf
1 changed files with 2 additions and 2 deletions
|
|
@ -321,7 +321,7 @@ public:
|
|||
|
||||
virtual ExitCode Entry()
|
||||
{
|
||||
return (ExitCode)EXEC(m_command);
|
||||
return wxUIntToPtr(EXEC(m_command));
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
@ -674,7 +674,7 @@ void MyFrame::OnExecThread(wxCommandEvent& WXUNUSED(event))
|
|||
thread.Run();
|
||||
|
||||
wxLogMessage(wxT("The exit code from a child thread is %ld"),
|
||||
(long)thread.Wait());
|
||||
(long)wxPtrToUInt(thread.Wait()));
|
||||
}
|
||||
|
||||
void MyFrame::OnShowCPUs(wxCommandEvent& WXUNUSED(event))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue