mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #136 from Sonicadvance1/gui-pointers
Fix two conversions of pointers to integer in the GUI.
This commit is contained in:
commit
91f23938b5
|
@ -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() )
|
||||
{
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue