From 63375b7438a788834187519e033e01cfdbd8d373 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 27 Sep 2012 08:57:16 +0000 Subject: * gdbtypes.c (lookup_array_range_type): Expand parameters LOW_BOUND and HIGH_BOUND to LONGEST. (lookup_string_range_type): Likewise. * gdbtypes.h (lookup_array_range_type): Likewise. (lookup_string_range_type): Likewise. * valops.c (value_cstring): Expand parameter LEN to ssize_t. Expand HIGHBOUND to ssize_t. (value_string): Likewise. * value.h (value_cstring): Expand parameter LEN to ssize_t. (value_string): Likewise. --- gdb/value.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/value.h') diff --git a/gdb/value.h b/gdb/value.h index cfdf085..3685935 100644 --- a/gdb/value.h +++ b/gdb/value.h @@ -587,9 +587,9 @@ extern struct value *value_mark (void); extern void value_free_to_mark (struct value *mark); -extern struct value *value_cstring (char *ptr, int len, +extern struct value *value_cstring (char *ptr, ssize_t len, struct type *char_type); -extern struct value *value_string (char *ptr, int len, +extern struct value *value_string (char *ptr, ssize_t len, struct type *char_type); extern struct value *value_array (int lowbound, int highbound, -- cgit v1.1