mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 01:58:44 +08:00
Fixed printf warnings. The GetByteSize() results return uint64_t values, not size_t values.
llvm-svn: 194587
This commit is contained in:
@@ -492,7 +492,10 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
err.SetErrorStringWithFormat("size of variable %s (%zu) disagrees with the ValueObject's size (%zu)", m_variable_sp->GetName().AsCString(), m_variable_sp->GetType()->GetByteSize(), data.GetByteSize());
|
||||
err.SetErrorStringWithFormat("size of variable %s (%" PRIu64 ") disagrees with the ValueObject's size (%" PRIu64 ")",
|
||||
m_variable_sp->GetName().AsCString(),
|
||||
m_variable_sp->GetType()->GetByteSize(),
|
||||
data.GetByteSize());
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user