mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +00:00
Explicitly cast the second argument to unsigned in order to select the
desired overload. This is a bit of a hackish workaround to fix the compile after r135259. Let me know if there is a better approach. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135261 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3d42bfbbdd
commit
e083805724
@ -2098,7 +2098,7 @@ APFloat::convertToInteger(APSInt &result,
|
||||
opStatus status = convertToInteger(
|
||||
parts.data(), bitWidth, result.isSigned(), rounding_mode, isExact);
|
||||
// Keeps the original signed-ness.
|
||||
result = APInt(bitWidth, parts.size(), parts.data());
|
||||
result = APInt(bitWidth, (unsigned)parts.size(), parts.data());
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user