diff options
Diffstat (limited to 'gcc/objc/objc-encoding.c')
-rw-r--r-- | gcc/objc/objc-encoding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/objc/objc-encoding.c b/gcc/objc/objc-encoding.c index c2f7444..5327251 100644 --- a/gcc/objc/objc-encoding.c +++ b/gcc/objc/objc-encoding.c @@ -820,7 +820,7 @@ encode_field (tree field_decl, int curtype, int format) between GNU and NeXT runtimes. */ if (DECL_BIT_FIELD_TYPE (field_decl)) { - int size = tree_low_cst (DECL_SIZE (field_decl), 1); + int size = tree_to_uhwi (DECL_SIZE (field_decl)); if (flag_next_runtime) encode_next_bitfield (size); |