mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
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:
@@ -264,7 +264,7 @@ SBSection::GetDescription (SBStream &description)
|
||||
if (section_sp)
|
||||
{
|
||||
const addr_t file_addr = section_sp->GetFileAddress();
|
||||
strm.Printf ("[0x%16.16llx-0x%16.16llx) ", file_addr, file_addr + section_sp->GetByteSize());
|
||||
strm.Printf ("[0x%16.16" PRIx64 "-0x%16.16" PRIx64 ") ", file_addr, file_addr + section_sp->GetByteSize());
|
||||
section_sp->DumpName(&strm);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user