doc: fix PAC typo
[deliverable/binutils-gdb.git] / gdb / m2-typeprint.c
index 754fb657afda6a4ebb7fd5657c3cfa8eb58d87ef..dae07d1c531a02c6eac4cb9b56cc9ad7e793aae7 100644 (file)
@@ -234,9 +234,9 @@ static void m2_array (struct type *type, struct ui_file *stream,
          m2_print_bounds (TYPE_INDEX_TYPE (type), stream, show, -1, 1);
        }
       else
-       fprintf_filtered (stream, "%d",
-                         (TYPE_LENGTH (type)
-                          / TYPE_LENGTH (TYPE_TARGET_TYPE (type))));
+       fputs_filtered (pulongest ((TYPE_LENGTH (type)
+                                   / TYPE_LENGTH (TYPE_TARGET_TYPE (type)))),
+                       stream);
     }
   fprintf_filtered (stream, "] OF ");
   m2_print_type (TYPE_TARGET_TYPE (type), "", stream, show, level, flags);
This page took 0.028416 seconds and 4 git commands to generate.