gdb_curses.h: Undefine KEY_EVENT before including curses
[deliverable/binutils-gdb.git] / gdb / typeprint.c
index f257f47a006aebac457c8c9b824fe36b2aeef0d6..c25e705d1c7154bf5df410ec9eef948f6e885eed 100644 (file)
@@ -206,7 +206,7 @@ print_type_scalar (struct type *type, LONGEST val, struct ui_file *stream)
       len = TYPE_NFIELDS (type);
       for (i = 0; i < len; i++)
        {
-         if (TYPE_FIELD_BITPOS (type, i) == val)
+         if (TYPE_FIELD_ENUMVAL (type, i) == val)
            {
              break;
            }
This page took 0.023422 seconds and 4 git commands to generate.