mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 18:29:37 +02:00
console mode fix
This commit is contained in:
parent
9ea9790e88
commit
e7bd8a6dba
1 changed files with 1 additions and 1 deletions
|
@ -1037,7 +1037,7 @@ Datatype *CParse::newStruct(const string &ident,vector<TypeDeclarator *> *declis
|
||||||
sublist.back().offset = -1; // Let typegrp figure out offset
|
sublist.back().offset = -1; // Let typegrp figure out offset
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!glb->types->setFields(sublist,res,-1)) {
|
if (!glb->types->setFields(sublist,res,-1,0)) {
|
||||||
setError("Bad structure definition");
|
setError("Bad structure definition");
|
||||||
glb->types->destroyType(res);
|
glb->types->destroyType(res);
|
||||||
return (Datatype *)0;
|
return (Datatype *)0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue