mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Fix cast.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140726 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d3e2b78c7
commit
7da52dd2fa
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user