mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-01 07:52:37 +00:00
Misc warning fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3582 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b33e69b8de
commit
1bcef5be76
4 changed files with 4 additions and 5 deletions
|
@ -165,7 +165,7 @@ void wxCheatsWindow::OnEvent_CheatsList_ItemSelected(wxCommandEvent& WXUNUSED (e
|
|||
m_Label_Codename->SetLabel(wxT("Name: ") + wxString::FromAscii(code.name.c_str()));
|
||||
char text[CHAR_MAX];
|
||||
char* numcodes = text;
|
||||
sprintf(numcodes, "Number of Codes: %lu", code.ops.size());
|
||||
sprintf(numcodes, "Number of Codes: %lu", (unsigned long)code.ops.size());
|
||||
m_Label_NumCodes->SetLabel(wxString::FromAscii(numcodes));
|
||||
m_ListBox_CodesList->Clear();
|
||||
for (size_t j = 0; j < code.ops.size(); j++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue