Author: gclayton
Date: Wed Nov 13 12:01:16 2013
New Revision: 194587
URL: http://llvm.org/viewvc/llvm-project?rev=194587&view=rev
Log:
Fixed printf warnings. The GetByteSize() results return uint64_t values, not
size_t values.
Modified:
lldb/trunk/source/Expression/Materializer.cpp
Modified: lldb/trunk/source/Expression/Materializer.cpp
URL:
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Expression/Materializer.cpp?rev=194587&r1=194586&r2=194587&view=diff
==============================================================================
--- lldb/trunk/source/Expression/Materializer.cpp (original)
+++ lldb/trunk/source/Expression/Materializer.cpp Wed Nov 13 12:01:16 2013
@@ -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;
}
_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits