projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d3e2b7
)
Fix cast.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Wed, 28 Sep 2011 21:24:44 +0000
(21:24 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Wed, 28 Sep 2011 21:24:44 +0000
(21:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140726
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-size/llvm-size.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-size/llvm-size.cpp
b/tools/llvm-size/llvm-size.cpp
index 25937583a15b9016a3022263bf640978ef90d604..b90024908e75fdfcfcfc3479ae3e0479b298e110 100644
(file)
--- a/
tools/llvm-size/llvm-size.cpp
+++ b/
tools/llvm-size/llvm-size.cpp
@@
-80,7
+80,7
@@
static bool error(error_code ec) {
static int getNumLengthAsString(uint64_t num) {
APInt conv(64, num);
SmallString<32> result;
- conv.toString(result,
unsigned int
(Radix), false, true);
+ conv.toString(result,
static_cast<unsigned int>
(Radix), false, true);
return result.size();
}