diff options
| author | nakeee <nakeee@gmail.com> | 2008-11-26 19:42:22 +0000 |
|---|---|---|
| committer | nakeee <nakeee@gmail.com> | 2008-11-26 19:42:22 +0000 |
| commit | 8777917177f5065e962890cfb289100509d04276 (patch) | |
| tree | b19bb307371ac433a9afcd08cafc0287e74c79ab /Source/Core/DebuggerWX/Src/MemoryWindow.cpp | |
| parent | d2b726da590ccc7bbc00679b6314196eba1881dd (diff) | |
warning fixes
(may break sound on wii, look in the changelog of
Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AXWii.cpp
if you wish to know why)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1306 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/MemoryWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/MemoryWindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp index 2ae39b249e..ccd563ae8b 100644 --- a/Source/Core/DebuggerWX/Src/MemoryWindow.cpp +++ b/Source/Core/DebuggerWX/Src/MemoryWindow.cpp @@ -145,13 +145,13 @@ void CMemoryWindow::SetMemoryValue(wxCommandEvent& event) u32 val;
if (!TryParseUInt(std::string("0x") + str_addr, &addr)) {
- PanicAlert("Invalid Address: %s", str_addr);
- return;
+ PanicAlert("Invalid Address: %s", str_addr.c_str());
+ return;
}
if (!TryParseUInt(std::string("0x") + str_val, &val)) {
- PanicAlert("Invalid Value: %s", str_val);
- return;
+ PanicAlert("Invalid Value: %s", str_val.c_str());
+ return;
}
Memory::Write_U32(val, addr);
|
