mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
6c: fix botched "embedded struct conversion codegen"-fix
Commit ee93b99842
typoed the node name ("nod1" vs "nod") when bringing
back the nod offset for struct offset in ODOT.
This commit is contained in:
parent
1b51d5683a
commit
578af37678
1 changed files with 2 additions and 2 deletions
|
@ -1024,8 +1024,8 @@ cgen(Node *n, Node *nn)
|
|||
diag(n, "DOT and no offset");
|
||||
break;
|
||||
}
|
||||
nod1.xoffset += (long)r->vconst;
|
||||
nod1.type = n->type;
|
||||
nod.xoffset += (long)r->vconst;
|
||||
nod.type = n->type;
|
||||
cgen(&nod, nn);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue