summaryrefslogtreecommitdiffhomepage
path: root/ir/tr
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2016-02-14 10:53:48 +0100
committerMatthias Braun <matze@braunis.de>2016-02-14 23:59:10 +0100
commitd5019c6029b32f582495c0fd98b53d647e572572 (patch)
tree0123face189f696f96d3034eef3522cfbeb05222 /ir/tr
parentc6eb86b9f3b32a8f72f42848a7113d73448c6c6b (diff)
entity: uint16_t ought to be enough for any bitfield description
Diffstat (limited to 'ir/tr')
-rw-r--r--ir/tr/entity_t.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/tr/entity_t.h b/ir/tr/entity_t.h
index c18e966..7eaba49 100644
--- a/ir/tr/entity_t.h
+++ b/ir/tr/entity_t.h
@@ -131,8 +131,8 @@ typedef struct code_ent_attr {
typedef struct compound_member_ent_attr {
int offset; /**< Offset in bytes for this entity. Fixed
when layout of owner is determined. */
- unsigned bitfield_offset; /**< for bitfields: offset in bits from base */
- unsigned bitfield_size; /**< for bitfields: size of entity in bits,
+ uint16_t bitfield_offset; /**< for bitfields: offset in bits from base */
+ uint16_t bitfield_size; /**< for bitfields: size of entity in bits,
0 if entity is not a bitfield. */
} compound_member_ent_attr;