diff --git a/pcsx2/gui/Dialogs/FirstTimeWizard.cpp b/pcsx2/gui/Dialogs/FirstTimeWizard.cpp index 8f449297fd..447b781527 100644 --- a/pcsx2/gui/Dialogs/FirstTimeWizard.cpp +++ b/pcsx2/gui/Dialogs/FirstTimeWizard.cpp @@ -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() ) { diff --git a/pcsx2/gui/Panels/BiosSelectorPanel.cpp b/pcsx2/gui/Panels/BiosSelectorPanel.cpp index 6ac8695172..d72404f080 100644 --- a/pcsx2/gui/Panels/BiosSelectorPanel.cpp +++ b/pcsx2/gui/Panels/BiosSelectorPanel.cpp @@ -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()