ld -plugin options when plugins are disabled
[deliverable/binutils-gdb.git] / gdb / ada-exp.y
index 15b28ac807d855d71999521cf7065297463da829..2ae9830dbbb865e0cfa02dca3ccec7c3483219e4 100644 (file)
@@ -1394,7 +1394,7 @@ convert_char_literal (struct type *type, LONGEST val)
   else
     xsnprintf (name, sizeof (name), "QU%02x", (int) val);
   size_t len = strlen (name);
-  for (f = 0; f < TYPE_NFIELDS (type); f += 1)
+  for (f = 0; f < type->num_fields (); f += 1)
     {
       /* Check the suffix because an enum constant in a package will
         have a name like "pkg__QUxx".  This is safe enough because we
This page took 0.023805 seconds and 4 git commands to generate.