Fixed printf warnings. The GetByteSize() results return uint64_t values, not size_t values.

llvm-svn: 194587
This commit is contained in:
Greg Clayton 2013-11-13 18:01:16 +00:00
parent 09de091cbe
commit 3ebae49748
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}