From 4dc1ab6c03a0d0b0e47f70c1781174541da05af3 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Wed, 28 Sep 2011 21:24:44 +0000 Subject: [PATCH] Fix cast. llvm-svn: 140726 --- tools/llvm-size/llvm-size.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/llvm-size/llvm-size.cpp b/tools/llvm-size/llvm-size.cpp index 25937583a15..b90024908e7 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(Radix), false, true); return result.size(); }