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
@@ -154,7 +154,7 @@ SBFileSpec::GetPath (char *dst_path, size_t dst_len) const
|
||||
result = m_opaque_ap->GetPath (dst_path, dst_len);
|
||||
|
||||
if (log)
|
||||
log->Printf ("SBFileSpec(%p)::GetPath (dst_path=\"%.*s\", dst_len=%llu) => %u",
|
||||
log->Printf ("SBFileSpec(%p)::GetPath (dst_path=\"%.*s\", dst_len=%" PRIu64 ") => %u",
|
||||
m_opaque_ap.get(), result, dst_path, (uint64_t)dst_len, result);
|
||||
|
||||
if (result == 0 && dst_path && dst_len > 0)
|
||||
|
||||
Reference in new issue
Block a user