summaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.c
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/gdbtypes.c
parentce14842f781cc6addb5aed5304b9bf84287f618b (diff)
downloadbinutils-gdb-63375b7438a788834187519e033e01cfdbd8d373.tar.gz
* 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/gdbtypes.c')
-rw-r--r--gdb/gdbtypes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c
index 8ac87997065..149d31f3380 100644
--- a/gdb/gdbtypes.c
+++ b/gdb/gdbtypes.c
@@ -964,7 +964,7 @@ create_array_type (struct type *result_type,
struct type *
lookup_array_range_type (struct type *element_type,
- int low_bound, int high_bound)
+ LONGEST low_bound, LONGEST high_bound)
{
struct gdbarch *gdbarch = get_type_arch (element_type);
struct type *index_type = builtin_type (gdbarch)->builtin_int;
@@ -1000,7 +1000,7 @@ create_string_type (struct type *result_type,
struct type *
lookup_string_range_type (struct type *string_char_type,
- int low_bound, int high_bound)
+ LONGEST low_bound, LONGEST high_bound)
{
struct type *result_type;