projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebfbdeb
)
Use zu rather than llu format specifier for size_t (-Wformat warning fix).
author
Eric Christopher
<echristo@gmail.com>
Wed, 16 Sep 2020 22:52:50 +0000
(15:52 -0700)
committer
Eric Christopher
<echristo@gmail.com>
Thu, 17 Sep 2020 02:28:05 +0000
(19:28 -0700)
lldb/source/Expression/REPL.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Expression/REPL.cpp
b/lldb/source/Expression/REPL.cpp
index
1f2b009
..
c3d1496
100644
(file)
--- a/
lldb/source/Expression/REPL.cpp
+++ b/
lldb/source/Expression/REPL.cpp
@@
-196,7
+196,7
@@
static bool ReadCode(const std::string &path, std::string &code,
const size_t max_size = code.max_size();
if (file_size > max_size) {
error_sp->Printf("file at path '%s' too large: "
- "file_size = %
llu, max_size = %ll
u\n",
+ "file_size = %
zu, max_size = %z
u\n",
path.c_str(), file_size, max_size);
return false;
}