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:
@@ -322,7 +322,7 @@ SBData::GetUnsignedInt64 (lldb::SBError& error, uint32_t offset)
|
||||
}
|
||||
if (log)
|
||||
log->Printf ("SBData::GetUnsignedInt64 (error=%p,offset=%d) => "
|
||||
"(%lld)", error.get(), offset, value);
|
||||
"(%" PRId64 ")", error.get(), offset, value);
|
||||
return value;
|
||||
}
|
||||
|
||||
@@ -410,7 +410,7 @@ SBData::GetSignedInt64 (lldb::SBError& error, uint32_t offset)
|
||||
}
|
||||
if (log)
|
||||
log->Printf ("SBData::GetSignedInt64 (error=%p,offset=%d) => "
|
||||
"(%lld)", error.get(), offset, value);
|
||||
"(%" PRId64 ")", error.get(), offset, value);
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user