aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1995-07-20 22:04:37 +0000
committerFred Fish <fnf@specifix.com>1995-07-20 22:04:37 +0000
commit032f80d8d45856defb0e70c4703b1c9d03b35ede (patch)
tree33397068db5ba5b7b8f1bb437336c1ec9814dd2f /gdb
parent5c54124babc0fa0b89be7a04c245d1784a9dcbaa (diff)
downloadgdb-032f80d8d45856defb0e70c4703b1c9d03b35ede.zip
gdb-032f80d8d45856defb0e70c4703b1c9d03b35ede.tar.gz
gdb-032f80d8d45856defb0e70c4703b1c9d03b35ede.tar.bz2
* top.c (show_endian): Cast first arg of printf_unfiltered to
correct type of "char *".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7767c6d..59dda57 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/top.c b/gdb/top.c
index 0afed966..3e07508 100644
--- 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) */