summaryrefslogtreecommitdiff
path: root/gdb/f-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/f-exp.y')
-rw-r--r--gdb/f-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-exp.y b/gdb/f-exp.y
index 0fa18dd1860..0ccb3c68d3e 100644
--- a/gdb/f-exp.y
+++ b/gdb/f-exp.y
@@ -827,7 +827,7 @@ push_kind_type (LONGEST val, struct type *type)
{
int ival;
- if (TYPE_UNSIGNED (type))
+ if (type->is_unsigned ())
{
ULONGEST uval = static_cast <ULONGEST> (val);
if (uval > INT_MAX)