diff options
Diffstat (limited to 'gdb/ada-lex.l')
-rw-r--r-- | gdb/ada-lex.l | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index 002eb81..ed88d50 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -498,8 +498,8 @@ processInt (struct parser_state *par_state, const char *base0, yylval.typed_val.type = type_long_long (par_state); else if (fits_in_type (1, value, long_long_bits, false)) { - /* Note: Interprets ULLONG_MAX as -1. */ - yylval.typed_val.type = type_long_long (par_state); + yylval.typed_val.type + = builtin_type (par_state->gdbarch ())->builtin_unsigned_long_long; /* See unsigned long case above. */ if (value & LONGEST_SIGN) yylval.typed_val.val = |