Fix two conversions of pointers to integer in the GUI.

Use uptr instead of 32bit integers fixes the issue of compiling.
This commit is contained in:
Ryan Houdek committed 2014-07-15 16:18:24 -05:00
1 parent 69f57351b2
commit 0af0db6593
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ void FirstTimeWizard::OnPageChanging( wxWizardEvent& evt )
{
if( evt.GetPage() == NULL ) return; // safety valve!
int page = (int)evt.GetPage()->GetClientData();
sptr page = (sptr)evt.GetPage()->GetClientData();
if( evt.GetDirection() )
{
+1 -1
View File
@@ -139,7 +139,7 @@ void Panels::BiosSelectorPanel::Apply()
) );
}
g_Conf->BaseFilenames.Bios = (*m_BiosList)[(int)m_ComboBox->GetClientData(sel)];
g_Conf->BaseFilenames.Bios = (*m_BiosList)[(sptr)m_ComboBox->GetClientData(sel)];
}
void Panels::BiosSelectorPanel::AppStatusEvent_OnSettingsApplied()