aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbol.c b/symbol.c
index a26d311..d6ec4a3 100644
--- a/symbol.c
+++ b/symbol.c
@@ -223,7 +223,7 @@ static struct symbol *examine_bitfield_type(struct symbol *sym)
alignment = base_type->ctype.alignment;
if (!sym->ctype.alignment)
sym->ctype.alignment = alignment;
- sym->bit_size = bit_size;
+ sym->bit_size = sym->fieldwidth;
return sym;
}