mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-22 04:05:39 +00:00
Merge remote-tracking branch
'origin/GP-4502_ghidra007_UnionDataType_to_Union_fix' (Closes #6393)
This commit is contained in:
commit
97afcf2d8f
@ -148,7 +148,7 @@ public class PrimitiveExtractor {
|
||||
* @param offset is the starting offset of the union within the parent
|
||||
* @return true if a common refinement was found and appended
|
||||
*/
|
||||
private boolean handleUnion(UnionDataType dt, int max, int offset) {
|
||||
private boolean handleUnion(Union dt, int max, int offset) {
|
||||
if (unionInvalid) {
|
||||
return false;
|
||||
}
|
||||
@ -232,7 +232,7 @@ public class PrimitiveExtractor {
|
||||
return true;
|
||||
}
|
||||
case PcodeDataTypeManager.TYPE_UNION:
|
||||
return handleUnion((UnionDataType) dt, max, offset);
|
||||
return handleUnion((Union) dt, max, offset);
|
||||
case PcodeDataTypeManager.TYPE_STRUCT:
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user