warning fixes + compile on linx

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1378 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee 2008-12-02 10:50:58 +00:00
parent afbed76fe7
commit dc3f3eb190
4 changed files with 5 additions and 5 deletions

View File

@ -244,7 +244,7 @@ void CCodeView::OnPopupMenu(wxCommandEvent& event)
{
// Check if this address has been modified
int find = -1;
for(int i = 0; i < BlrList.size(); i++)
for(u32 i = 0; i < BlrList.size(); i++)
{
if(BlrList.at(i).Address == selection)
{ find = i; break; }

View File

@ -35,10 +35,10 @@ CPatchAddEdit::~CPatchAddEdit()
{
}
void CPatchAddEdit::CreateGUIControls(int selection)
void CPatchAddEdit::CreateGUIControls(int _selection)
{
std::string currentName = onFrame.at(selection).name;
std::vector<PatchEngine::PatchEntry> currentEntries = onFrame.at(selection).entries;
std::string currentName = onFrame.at(_selection).name;
std::vector<PatchEngine::PatchEntry> currentEntries = onFrame.at(_selection).entries;
wxBoxSizer* sEditPatch = new wxBoxSizer(wxVERTICAL);
wxStaticText* EditPatchNameText = new wxStaticText(this, ID_EDITPATCH_NAME_TEXT, _("Name:"), wxDefaultPosition, wxDefaultSize);

View File

@ -21,6 +21,7 @@ if not env['osx64']:
'MemcardManager.cpp',
'MemoryCards/GCMemcard.cpp',
'PluginManager.cpp',
'PatchAddEdit.cpp',
'CheatsWindow.cpp',
'stdafx.cpp',
]

View File

@ -374,7 +374,6 @@ void ConfigBox::SetControllerAll(int controller)
void ConfigBox::GetControllerAll(int controller)
{
wxString tmp;
char value[64];
long lvalue;
joysticks[controller].ID = m_Joyname[controller]->GetSelection();