aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile/scm-math.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/guile/scm-math.c')
-rw-r--r--gdb/guile/scm-math.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/guile/scm-math.c b/gdb/guile/scm-math.c
index 419f509..c297c45 100644
--- a/gdb/guile/scm-math.c
+++ b/gdb/guile/scm-math.c
@@ -527,7 +527,7 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj,
if (is_integral_type (type)
|| type->code () == TYPE_CODE_PTR)
{
- if (TYPE_UNSIGNED (type))
+ if (type->is_unsigned ())
{
ULONGEST max;
@@ -573,7 +573,7 @@ vlscm_convert_typed_number (const char *func_name, int obj_arg_pos, SCM obj,
static int
vlscm_integer_fits_p (SCM obj, struct type *type)
{
- if (TYPE_UNSIGNED (type))
+ if (type->is_unsigned ())
{
ULONGEST max;