From 664c7fe2486d573a9d2d21d3c948864bab01148c Mon Sep 17 00:00:00 2001 From: ghidra007 Date: Tue, 9 Apr 2024 17:42:27 +0000 Subject: [PATCH] GP-4502 changed UnionDataTypes to Unions --- .../program/model/lang/protorules/PrimitiveExtractor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/PrimitiveExtractor.java b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/PrimitiveExtractor.java index 47d467da9a..19e3bc6ede 100644 --- a/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/PrimitiveExtractor.java +++ b/Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/lang/protorules/PrimitiveExtractor.java @@ -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: