mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-4020 Send core data-type id as unsigned
This commit is contained in:
parent
5bb3952244
commit
053097616a
2 changed files with 3 additions and 4 deletions
|
@ -3021,7 +3021,7 @@ Datatype *TypeFactory::findAdd(Datatype &ct)
|
|||
|
||||
if (ct.name.size()!=0) { // If there is a name
|
||||
if (ct.id == 0) // There must be an id
|
||||
throw LowlevelError("Datatype must have a valid id");
|
||||
throw LowlevelError("Datatype must have a valid id: "+ct.name);
|
||||
res = findByIdLocal(ct.name,ct.id); // Lookup type by it
|
||||
if (res != (Datatype *)0) { // If a type has this name
|
||||
if (0!=res->compareDependency( ct )) // Check if it is the same type
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue