summaryrefslogtreecommitdiff
path: root/gdb/guile/scm-type.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/guile/scm-type.c')
-rw-r--r--gdb/guile/scm-type.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c
index 008e792cc34..033b800d8b0 100644
--- a/gdb/guile/scm-type.c
+++ b/gdb/guile/scm-type.c
@@ -827,12 +827,12 @@ gdbscm_type_range (SCM self)
case TYPE_CODE_ARRAY:
case TYPE_CODE_STRING:
case TYPE_CODE_RANGE:
- if (type->bounds ()->low.kind () == PROP_CONST)
+ if (type->bounds ()->low.is_constant ())
low = type->bounds ()->low.const_val ();
else
low = 0;
- if (type->bounds ()->high.kind () == PROP_CONST)
+ if (type->bounds ()->high.is_constant ())
high = type->bounds ()->high.const_val ();
else
high = 0;