/Wp64 warnings fixes (mostly simply use wxUIntToPtr/wxPtrToUInt() instead of C casts)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-02-26 17:55:19 +00:00
parent c40766261b
commit 3f49efdba9
3 changed files with 21 additions and 20 deletions

View File

@@ -239,11 +239,11 @@ wxDynamicLibraryDetailsCreator::EnumModulesProc(NameStr_t name,
// fill in simple properties
details->m_name = wxString::FromAscii(name);
details->m_address = wx_reinterpret_cast(void *, base);
details->m_address = wxUIntToPtr(base);
details->m_length = size;
// to get the version, we first need the full path
HMODULE hmod = wxGetModuleHandle(name, (void *)base);
HMODULE hmod = wxGetModuleHandle(name, details->m_address);
if ( hmod )
{
wxString fullname = wxGetFullModuleName(hmod);