1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Fix cast.

llvm-svn: 140726
This commit is contained in:
Michael J. Spencer 2011-09-28 21:24:44 +00:00
parent 81fc13efd2
commit 4dc1ab6c03

View File

@ -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();
}