PR binutils/1437
[deliverable/binutils-gdb.git] / gdb / jv-valprint.c
index 41f6c561a6f5cbb667d24ddfa4ec987b0d8cb619..7e24e566cbb09d539eb43f97eda06a93514486d0 100644 (file)
@@ -72,7 +72,7 @@ java_value_print (struct value *val, struct ui_file *stream, int format,
   if (TYPE_CODE (type) == TYPE_CODE_STRUCT && name != NULL
       && (i = strlen (name), name[i - 1] == ']'))
     {
-      char buf4[4];
+      gdb_byte buf4[4];
       long length;
       unsigned int things_printed = 0;
       int reps;
@@ -93,7 +93,7 @@ java_value_print (struct value *val, struct ui_file *stream, int format,
 
          while (i < length && things_printed < print_max)
            {
-             char *buf;
+             gdb_byte *buf;
 
              buf = alloca (TARGET_PTR_BIT / HOST_CHAR_BIT);
              fputs_filtered (", ", stream);
This page took 0.023279 seconds and 4 git commands to generate.