Merge remote-tracking branch

'origin/GP-7292_ghidragon_fixed_bug_from_GP-3049' into Ghidra_12.2
(Closes #9651)
This commit is contained in:
Ryan Kurtz
2026-09-18 12:49:50 -04:00
@@ -110,6 +110,11 @@ public class FixedSizeIntegerTextField extends AbstractIntegerTextField {
minSignedValue = BigInteger.TWO.pow(bitSize - 1).negate();
maxSignedValue = BigInteger.TWO.pow(bitSize - 1).subtract(BigInteger.ONE);
// special case for bitSize == 1, signed makes no sense, so use unsigned min/max for both
if (bitSize == 1) {
minSignedValue = minUnsignedValue;
maxSignedValue = maxUnsignedValue;
}
BigInteger value = getValue();
this.bitSize = bitSize;
updateMinMax();