mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 15:14:31 +00: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:
1 parent
05d3bf77a1
commit
d01b2953fa
149 files changed
+686
-679
No files matched your search
@@ -107,7 +107,7 @@ SBFunction::GetDescription (SBStream &s)
|
||||
{
|
||||
if (m_opaque_ptr)
|
||||
{
|
||||
s.Printf ("SBFunction: id = 0x%8.8llx, name = %s",
|
||||
s.Printf ("SBFunction: id = 0x%8.8" PRIx64 ", name = %s",
|
||||
m_opaque_ptr->GetID(),
|
||||
m_opaque_ptr->GetName().AsCString());
|
||||
Type *func_type = m_opaque_ptr->GetType();
|
||||
|
||||
Reference in new issue
Block a user