Fix a few compile warnings

llvm-svn: 237238
This commit is contained in:
Ilia K 2015-05-13 09:04:59 +00:00
parent 46c4f02848
commit acf20fa233
2 changed files with 2 additions and 2 deletions

View File

@ -401,7 +401,7 @@ DynamicLoaderHexagonDYLD::RendezvousBreakpointHit(void *baton,
dyld_instance->m_rendezvous.SetRendezvousAddress( structAddr );
if ( log )
log->Printf( "Found _rtld_debug structure @ 0x%08lx", structAddr );
log->Printf( "Found _rtld_debug structure @ 0x%08" PRIx64, structAddr );
}
else
{

View File

@ -465,7 +465,7 @@ DWARFCompileUnit::BuildAddressRangeTable (SymbolFileDWARF* dwarf2Data,
{
const LineTable::FileAddressRanges::Entry &range = file_ranges.GetEntryRef(idx);
debug_aranges->AppendRange(GetOffset(), range.GetRangeBase(), range.GetRangeEnd());
printf ("0x%8.8x: [0x%16.16lx - 0x%16.16lx)\n", GetOffset(), range.GetRangeBase(), range.GetRangeEnd());
printf ("0x%8.8x: [0x%16.16" PRIx64 " - 0x%16.16" PRIx64 ")\n", GetOffset(), range.GetRangeBase(), range.GetRangeEnd());
}
}
}