Hi, While reviewing my bitpos patch[1] I found a couple of cases where a variable that takes the value of enumval (type.main_type.flds_bnds.fields[i].loc.enumval) is declared as int instead of LONGEST. No regressions resulting from it. OK to commit? Regards, Siddhesh gdb/ChangeLog: * m2-typeprint.c (m2_enum): Expand LASTVAL to LONGEST. * p-valprint.c (pascal_type_print_base): Likewise.