summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-11-13 18:01:16 +0000
committerGreg Clayton <gclayton@apple.com>2013-11-13 18:01:16 +0000
commit3ebae497481027499b4fe0fa38880bfba6057fd2 (patch)
tree80cc801d24ee1c83c77fe62cf674d4ad01eec56e
parent09de091cbea5c528a02474ced34099f1cb0f636e (diff)
downloadbcm5719-llvm-3ebae497481027499b4fe0fa38880bfba6057fd2.tar.gz
bcm5719-llvm-3ebae497481027499b4fe0fa38880bfba6057fd2.zip
Fixed printf warnings. The GetByteSize() results return uint64_t values, not size_t values.
llvm-svn: 194587
-rw-r--r--lldb/source/Expression/Materializer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/lldb/source/Expression/Materializer.cpp b/lldb/source/Expression/Materializer.cpp
index 48008ccb3e5..8731fbebd14 100644
--- a/lldb/source/Expression/Materializer.cpp
+++ b/lldb/source/Expression/Materializer.cpp
@@ -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;
}
OpenPOWER on IntegriCloud