diff options
author | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-09-28 21:24:44 +0000 |
---|---|---|
committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2011-09-28 21:24:44 +0000 |
commit | 7f168777e5313bf40d0b65a630a55c8b537571db (patch) | |
tree | 051bd71cace191f3b54c4c4f51fcb690ad07d8b0 /llvm/tools/llvm-size/llvm-size.cpp | |
parent | 252e03596a25bdcc682e1a9f763bd3cb49e076bb (diff) | |
download | bcm5719-llvm-7f168777e5313bf40d0b65a630a55c8b537571db.tar.gz bcm5719-llvm-7f168777e5313bf40d0b65a630a55c8b537571db.zip |
Fix cast.
llvm-svn: 140726
Diffstat (limited to 'llvm/tools/llvm-size/llvm-size.cpp')
-rw-r--r-- | llvm/tools/llvm-size/llvm-size.cpp | 2 |
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(); } |