mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 12:25:46 +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:
@@ -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