aboutsummaryrefslogtreecommitdiff
path: root/gdb/f-lang.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/f-lang.h')
-rw-r--r--gdb/f-lang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/f-lang.h b/gdb/f-lang.h
index 181f837..0107a08 100644
--- a/gdb/f-lang.h
+++ b/gdb/f-lang.h
@@ -197,7 +197,7 @@ public:
type = check_typedef (type);
return (type->code () == TYPE_CODE_STRING
|| (type->code () == TYPE_CODE_ARRAY
- && TYPE_TARGET_TYPE (type)->code () == TYPE_CODE_CHAR));
+ && type->target_type ()->code () == TYPE_CODE_CHAR));
}
/* See language.h. */