diff options
author | Jason Molenda <jmolenda@apple.com> | 2011-09-20 21:44:10 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2011-09-20 21:44:10 +0000 |
commit | fd54b368ea4d1bd481ac4d203362c2a5556418d0 (patch) | |
tree | 3adaaf91c485565d39e32762804b69439977c8fd /lldb/source/Commands/CommandObjectSource.cpp | |
parent | 33e91a6cf7a66b83b29e842268bf9b0a1ef14711 (diff) | |
download | llvm-fd54b368ea4d1bd481ac4d203362c2a5556418d0.zip llvm-fd54b368ea4d1bd481ac4d203362c2a5556418d0.tar.gz llvm-fd54b368ea4d1bd481ac4d203362c2a5556418d0.tar.bz2 |
Update declarations for all functions/methods that accept printf-style
stdarg formats to use __attribute__ format so the compiler can flag
incorrect uses. Fix all incorrect uses. Most of these are innocuous,
a few were resulting in crashes.
llvm-svn: 140185
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
-rw-r--r-- | lldb/source/Commands/CommandObjectSource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectSource.cpp b/lldb/source/Commands/CommandObjectSource.cpp index e6b98fa..aba27c1 100644 --- a/lldb/source/Commands/CommandObjectSource.cpp +++ b/lldb/source/Commands/CommandObjectSource.cpp @@ -389,7 +389,7 @@ public: sc_list.GetContextAtIndex (i, scratch_sc); if (scratch_sc.function != NULL) { - s.Printf("\n%d: ", i); + s.Printf("\n%lu: ", i); scratch_sc.function->Dump (&s, true); } } |