diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-28 23:42:28 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-28 23:42:28 +0000 |
commit | 5f5477488f832e6a78b40b64a7f12fa8a027bb12 (patch) | |
tree | b4234755cd526d4a4d0effa6f96f13445e18c30c /gdb/valprint.c | |
parent | 30bffb23b024c1e49b57bdcc832e8716421c8dbd (diff) | |
download | gdb-5f5477488f832e6a78b40b64a7f12fa8a027bb12.zip gdb-5f5477488f832e6a78b40b64a7f12fa8a027bb12.tar.gz gdb-5f5477488f832e6a78b40b64a7f12fa8a027bb12.tar.bz2 |
2005-01-28 Andrew Cagney <cagney@gnu.org>
* valprint.c (val_print_type_code_int): Make buffer a const bfd_byte.
* valprint.h (val_print_type_code_int): Ditto.
Diffstat (limited to 'gdb/valprint.c')
-rw-r--r-- | gdb/valprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valprint.c b/gdb/valprint.c index 3cd76ec..b3e4443 100644 --- a/gdb/valprint.c +++ b/gdb/valprint.c @@ -177,7 +177,7 @@ value_print (struct value *val, struct ui_file *stream, int format, value. STREAM is where to print the value. */ void -val_print_type_code_int (struct type *type, char *valaddr, +val_print_type_code_int (struct type *type, const bfd_byte *valaddr, struct ui_file *stream) { if (TYPE_LENGTH (type) > sizeof (LONGEST)) |