summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/llvm-size/llvm-size.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-size/llvm-size.cpp b/llvm/tools/llvm-size/llvm-size.cpp
index 25937583a15..b90024908e7 100644
--- a/llvm/tools/llvm-size/llvm-size.cpp
+++ b/llvm/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();
}
OpenPOWER on IntegriCloud