llvm.org GIT mirror llvm / 7da52dd
Fix cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140726 91177308-0d34-0410-b5e6-96231b3b80d8 Michael J. Spencer 8 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
7979 static int getNumLengthAsString(uint64_t num) {
8080 APInt conv(64, num);
8181 SmallString<32> result;
82 conv.toString(result, unsigned int(Radix), false, true);
82 conv.toString(result, static_cast(Radix), false, true);
8383 return result.size();
8484 }
8585