diff options
author | Sylvestre Ledru <sylvestre@debian.org> | 2013-10-31 23:55:19 +0000 |
---|---|---|
committer | Sylvestre Ledru <sylvestre@debian.org> | 2013-10-31 23:55:19 +0000 |
commit | 779f921311d9c94013eae1b260a6765411f74e9f (patch) | |
tree | 931584df058f47785ee7628797b208a0334006cb /lldb/source/Expression/DWARFExpression.cpp | |
parent | 60bd35012aad1f72e6a4845b9b4bc42ebdc8e483 (diff) | |
download | bcm5719-llvm-779f921311d9c94013eae1b260a6765411f74e9f.tar.gz bcm5719-llvm-779f921311d9c94013eae1b260a6765411f74e9f.zip |
Fix the format warnings.
In almost all cases, the misuse is about "%lu" being used instead of the correct "%zu" (even though these are compatible on 64-bit platforms in practice). There are even a couple of cases where "%ld" (ie., signed int) is used instead of "%zu", and one where "%lu" is used instead of "%" PRIu64.
Fixes bug #17551.
Patch by "/dev/humancontroller"
llvm-svn: 193832
Diffstat (limited to 'lldb/source/Expression/DWARFExpression.cpp')
-rw-r--r-- | lldb/source/Expression/DWARFExpression.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Expression/DWARFExpression.cpp b/lldb/source/Expression/DWARFExpression.cpp index ad396d499f5..b36be8e545d 100644 --- a/lldb/source/Expression/DWARFExpression.cpp +++ b/lldb/source/Expression/DWARFExpression.cpp @@ -1363,7 +1363,7 @@ DWARFExpression::Evaluate if (log && log->GetVerbose()) { size_t count = stack.size(); - log->Printf("Stack before operation has %lu values:", count); + log->Printf("Stack before operation has %zu values:", count); for (size_t i=0; i<count; ++i) { StreamString new_value; @@ -2739,7 +2739,7 @@ DWARFExpression::Evaluate else if (log && log->GetVerbose()) { size_t count = stack.size(); - log->Printf("Stack after operation has %lu values:", count); + log->Printf("Stack after operation has %zu values:", count); for (size_t i=0; i<count; ++i) { StreamString new_value; |