Fix down-casting

This commit is contained in:
Simon Rozman 2018-09-07 14:18:49 +02:00
parent 89d610a306
commit fdf187cf6d

View File

@ -82,7 +82,7 @@ wxThread::ExitCode wxUpdCheckThread::Entry()
wxQueueEvent(m_parent, e);
}
return (wxThread::ExitCode)static_cast<int>(result & 0xffffffff);
return (wxThread::ExitCode)(static_cast<INT_PTR>(result) & 0xffffffff);
}