Permalink
Browse files

change type width detection logic

  • Loading branch information...
1 parent e5086e3 commit 334d5cc7fb04449828128cf762bc6635fca091ef @vlm committed Feb 10, 2014
Showing with 1 addition and 0 deletions.
  1. +1 −0 libasn1compiler/asn1c_misc.c
@@ -365,6 +365,7 @@ asn1c_type_fits_long(arg_t *arg, asn1p_expr_t *expr) {
|| range->extensible
* because this may or may not indicate wide type.
*/
+ || (range->extensible && (arg->flags & A1C_USE_WIDE_TYPES))
|| range->empty_constraint
|| range->incompatible
|| range->not_PER_visible

0 comments on commit 334d5cc

Please sign in to comment.