Resolve printf formatting warnings on Linux:
- use macros from inttypes.h for format strings instead of OS-specific types Patch from Matt Kopec! llvm-svn: 168945
This commit is contained in:
@@ -92,7 +92,7 @@ BreakpointResolverFileRegex::SearchCallback
|
||||
}
|
||||
else if (log)
|
||||
{
|
||||
log->Printf ("Breakpoint at file address 0x%llx for %s:%d didn't pass filter.\n",
|
||||
log->Printf ("Breakpoint at file address 0x%" PRIx64 " for %s:%d didn't pass filter.\n",
|
||||
line_start.GetFileAddress(),
|
||||
cu_file_spec.GetFilename().AsCString("<Unknown>"),
|
||||
line_matches[i]);
|
||||
@@ -101,7 +101,7 @@ BreakpointResolverFileRegex::SearchCallback
|
||||
else
|
||||
{
|
||||
if (log)
|
||||
log->Printf ("error: Unable to set breakpoint at file address 0x%llx for %s:%d\n",
|
||||
log->Printf ("error: Unable to set breakpoint at file address 0x%" PRIx64 " for %s:%d\n",
|
||||
line_start.GetFileAddress(),
|
||||
cu_file_spec.GetFilename().AsCString("<Unknown>"),
|
||||
line_matches[i]);
|
||||
|
||||
Reference in New Issue
Block a user