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 2014-07-15 15:18:14 -05:00
parent 69f57351b2
commit 0af0db6593
2 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ void FirstTimeWizard::OnPageChanging( wxWizardEvent& evt )
{ {
if( evt.GetPage() == NULL ) return; // safety valve! if( evt.GetPage() == NULL ) return; // safety valve!
int page = (int)evt.GetPage()->GetClientData(); sptr page = (sptr)evt.GetPage()->GetClientData();
if( evt.GetDirection() ) if( evt.GetDirection() )
{ {

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() void Panels::BiosSelectorPanel::AppStatusEvent_OnSettingsApplied()