summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/llvm-size/llvm-size.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-size/llvm-size.cpp b/tools/llvm-size/llvm-size.cpp
index 25937583a1..b90024908e 100644
--- 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();
}