]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* top.c (show_endian): Cast first arg of printf_unfiltered to
authorFred Fish <fnf@specifix.com>
Thu, 20 Jul 1995 22:04:37 +0000 (22:04 +0000)
committerFred Fish <fnf@specifix.com>
Thu, 20 Jul 1995 22:04:37 +0000 (22:04 +0000)
correct type of "char *".

gdb/ChangeLog
gdb/top.c

index 7767c6dcb5caf8d8fec4572acb379bbe801cbc7c..59dda573849db0b6bdebfb791acda453c7ed9dd5 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul 20 15:04:57 1995  Fred Fish  <fnf@cygnus.com>
+
+       * top.c (show_endian): Cast first arg of printf_unfiltered to
+       correct type of "char *".
+
 Thu Jul 20 14:18:51 1995  Jeffrey A. Law  <law@rtl.cygnus.com>
 
        * lynx-nat.c (child_wait): A thread_id of zero from wait apparently
index 0afed966bc337d6612fc7244014c1eb612005675..3e07508368b1ee6478de737658d187631f3b8be4 100644 (file)
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -3078,7 +3078,7 @@ show_endian (args, from_tty)
     (target_byte_order_auto
      ? "The target endianness is set automatically (currently %s endian)\n"
      : "The target is assumed to be %s endian\n");
-  printf_unfiltered (msg, TARGET_BYTE_ORDER == BIG_ENDIAN ? "big" : "little");
+  printf_unfiltered ((char *) msg, TARGET_BYTE_ORDER == BIG_ENDIAN ? "big" : "little");
 }
 
 #endif /* defined (TARGET_BYTE_ORDER_SELECTABLE) */