mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-0 corrected CompositeDataType.setStoredPackingValue error check
This commit is contained in:
parent
779f8d8da2
commit
cd7599e3b9
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ public abstract class CompositeDataTypeImpl extends GenericDataType implements C
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setStoredPackingValue(int packingValue) {
|
private void setStoredPackingValue(int packingValue) {
|
||||||
if (minimumAlignment < NO_PACKING) {
|
if (packingValue < NO_PACKING) {
|
||||||
throw new IllegalArgumentException("invalid packing value: " + packingValue);
|
throw new IllegalArgumentException("invalid packing value: " + packingValue);
|
||||||
}
|
}
|
||||||
if (packingValue == this.packing) {
|
if (packingValue == this.packing) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue