* elf32-xtensa.c (ebb_propose_action): Fix argument order.
[deliverable/binutils-gdb.git] / gdb / valprint.c
index 64216f85f0b88cefa5376cef583f38b52c593d26..fd92750b8c62ca19517b81febc7cf1784ced20d6 100644 (file)
@@ -230,7 +230,8 @@ void
 print_longest (struct ui_file *stream, int format, int use_c_format,
               LONGEST val_long)
 {
-  char *val;
+  const char *val;
+
   switch (format)
     {
     case 'd':
@@ -253,8 +254,7 @@ print_longest (struct ui_file *stream, int format, int use_c_format,
     default:
       internal_error (__FILE__, __LINE__, "failed internal consistency check");
     } 
-
-  fprintf_filtered (stream, val);
+  fputs_filtered (val, stream);
 }
 
 /* This used to be a macro, but I don't think it is called often enough
This page took 0.023375 seconds and 4 git commands to generate.