Skip to content

Commit

Permalink
Merge pull request #5129 from ligfx/breakpointprintf
Browse files Browse the repository at this point in the history
Breakpoints.cpp: fix format string warnings
  • Loading branch information
lioncash committed Mar 31, 2017
2 parents 80a8123 + 9e430cb commit 6b19867
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/Core/PowerPC/BreakPoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -242,9 +242,10 @@ bool TMemCheck::Action(DebugInterface* debug_interface, u32 value, u32 addr, boo
{
if (log_on_hit)
{
NOTICE_LOG(MEMMAP, "MBP %08x (%s) %s%i %0*x at %08x (%s)", pc,
NOTICE_LOG(MEMMAP, "MBP %08x (%s) %s%zu %0*x at %08x (%s)", pc,
debug_interface->GetDescription(pc).c_str(), write ? "Write" : "Read", size * 8,
size * 2, value, addr, debug_interface->GetDescription(addr).c_str());
static_cast<int>(size * 2), value, addr,
debug_interface->GetDescription(addr).c_str());
}
if (break_on_hit)
return true;
Expand Down

0 comments on commit 6b19867

Please sign in to comment.