aboutsummaryrefslogtreecommitdiff
path: root/gdb/value.h
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@sourceware.org>2012-09-27 08:57:16 +0000
committerSiddhesh Poyarekar <siddhesh@sourceware.org>2012-09-27 08:57:16 +0000
commit63375b7438a788834187519e033e01cfdbd8d373 (patch)
tree6a93efb3f473c500493760cda285022e5abda7bb /gdb/value.h
parentce14842f781cc6addb5aed5304b9bf84287f618b (diff)
downloadgdb-63375b7438a788834187519e033e01cfdbd8d373.zip
gdb-63375b7438a788834187519e033e01cfdbd8d373.tar.gz
gdb-63375b7438a788834187519e033e01cfdbd8d373.tar.bz2
* 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.
Diffstat (limited to 'gdb/value.h')
-rw-r--r--gdb/value.h4
1 files changed, 2 insertions, 2 deletions
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,