summaryrefslogtreecommitdiff
path: root/gdb/valarith.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-01-28 16:45:16 +0000
committerAndrew Cagney <cagney@redhat.com>2005-01-28 16:45:16 +0000
commiteb3618cf08b6a152d6774d59c06240e41a0c5e34 (patch)
tree5ac4d4e4abb88ff5c49f05701e2d7e4530707953 /gdb/valarith.c
parent4ad812858579d74843a3776aaf8a1637e76f43a5 (diff)
downloadgdb-eb3618cf08b6a152d6774d59c06240e41a0c5e34.tar.gz
2005-01-28 Andrew Cagney <cagney@gnu.org>
* value.h (value_bit_index, print_floating) (find_rt_vbase_offset): Make buffer a const bfd_byte. * valprint.c (print_floating): Update. * valarith.c (value_bit_index): Update. * valops.c (find_rt_vbase_offset): Update.
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r--gdb/valarith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valarith.c b/gdb/valarith.c
index 00f20e16c41..418397ab496 100644
--- a/gdb/valarith.c
+++ b/gdb/valarith.c
@@ -1367,7 +1367,7 @@ value_complement (struct value *arg1)
Return -1 if out of range, -2 other error. */
int
-value_bit_index (struct type *type, char *valaddr, int index)
+value_bit_index (struct type *type, const bfd_byte *valaddr, int index)
{
LONGEST low_bound, high_bound;
LONGEST word;