mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-0 corrected CompositeDataType.setStoredPackingValue error check
This commit is contained in:
@@ -343,7 +343,7 @@ public abstract class CompositeDataTypeImpl extends GenericDataType implements C
|
||||
}
|
||||
|
||||
private void setStoredPackingValue(int packingValue) {
|
||||
if (minimumAlignment < NO_PACKING) {
|
||||
if (packingValue < NO_PACKING) {
|
||||
throw new IllegalArgumentException("invalid packing value: " + packingValue);
|
||||
}
|
||||
if (packingValue == this.packing) {
|
||||
|
||||
Reference in New Issue
Block a user