Fixed bit-field initializers bug
This commit is contained in:
parent
7352c25e9c
commit
a0d74876b8
1 changed files with 3 additions and 5 deletions
|
@ -191,11 +191,9 @@ next_field(sd, p)
|
||||||
{
|
{
|
||||||
if (sd->sd_sdef)
|
if (sd->sd_sdef)
|
||||||
p->bytes_upto_here += zero_bytes(sd);
|
p->bytes_upto_here += zero_bytes(sd);
|
||||||
if (p->last_offset != sd->sd_offset) {
|
p->bytes_upto_here +=
|
||||||
p->bytes_upto_here +=
|
size_of_type(sd->sd_type, "selector");
|
||||||
size_of_type(sd->sd_type, "selector");
|
p->last_offset = sd->sd_offset;
|
||||||
p->last_offset = sd->sd_offset;
|
|
||||||
}
|
|
||||||
return sd->sd_sdef;
|
return sd->sd_sdef;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue