fix compile on linux

fixed some warnings.
(gcc seems not to like char variables as array subscript)



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3330 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2009-06-05 07:36:55 +00:00
parent 004dfffff0
commit 4e98655aa3
5 changed files with 22 additions and 22 deletions

View File

@ -56,7 +56,7 @@ void NetPlay::OnNetEvent(wxCommandEvent& event)
m_numClients--;
AppendText( wxString::Format(wxT("ERROR : Network Error !\n"
"*Player : %s has been dropped from the game.\n\n"),
event.GetString().mb_str()) );
(const char *)event.GetString().mb_str()) );
}
}
break;
@ -518,7 +518,7 @@ bool ClientSide::isNewPadData(u32 *netValues, bool current, bool isVersus)
}
bool ServerSide::isNewPadData(u32 *netValues, bool current, char client)
bool ServerSide::isNewPadData(u32 *netValues, bool current, int client)
{
#ifdef USE_TCP
if (current)