ARG, struct offsets are potentially more than 16bit
authorMatthias Braun <matze@braunis.de>
Wed, 14 Apr 2010 17:01:18 +0000 (17:01 +0000)
committerMatthias Braun <matze@braunis.de>
Wed, 14 Apr 2010 17:01:18 +0000 (17:01 +0000)
[r27399]

entity_t.h

index 02bb014..eca43dd 100644 (file)
@@ -202,7 +202,7 @@ struct compound_member_t {
        declaration_t  base;
        bool           read          : 1;
        bool           address_taken : 1;  /**< Set if the address of this declaration was taken. */
-       unsigned short offset;     /**< the offset of this member in the compound */
+       il_size_t      offset;     /**< the offset of this member in the compound */
        unsigned char  bit_offset; /**< extra bit offset for bitfield members */
 
        /* ast2firm info */