aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-18 22:03:29 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-18 22:03:29 +0000
commita2867626c13e9fe67881cc79e4ae6ff4f193fc04 (patch)
treeaed4767b4af4c064dc914056ee094948913a4384 /gdb/printcmd.c
parentac3b79201d339c4cf6164b0c54be32185543cdd6 (diff)
downloadgdb-a2867626c13e9fe67881cc79e4ae6ff4f193fc04.zip
gdb-a2867626c13e9fe67881cc79e4ae6ff4f193fc04.tar.gz
gdb-a2867626c13e9fe67881cc79e4ae6ff4f193fc04.tar.bz2
2003-03-18 Andrew Cagney <cagney@redhat.com>
* printcmd.c (print_scalar_formatted): Change VALADDR parameter to a void pointer. * gdbtypes.h (print_scalar_formatted): Update declaration. * expression.h (enum exp_opcode): Remove non-ISO C trailing comma.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index c7b0ffb..5196ef0 100644
--- a/gdb/printcmd.c
+++ b/gdb/printcmd.c
@@ -343,7 +343,7 @@ print_formatted (struct value *val, register int format, int size,
with a format. */
void
-print_scalar_formatted (char *valaddr, struct type *type, int format, int size,
+print_scalar_formatted (void *valaddr, struct type *type, int format, int size,
struct ui_file *stream)
{
LONGEST val_long;