aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbtypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbtypes.h')
-rw-r--r--gdb/gdbtypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbtypes.h b/gdb/gdbtypes.h
index aaed12f..2a1bf31 100644
--- a/gdb/gdbtypes.h
+++ b/gdb/gdbtypes.h
@@ -932,7 +932,7 @@ struct type
/* Note that if thistype is a TYPEDEF type, you have to call check_typedef.
But check_typedef does set the TYPE_LENGTH of the TYPEDEF type,
so you only have to call check_typedef once. Since allocate_value
- calls check_typedef, VALUE_TYPE (X)->length () is safe. */
+ calls check_typedef, X->type ()->length () is safe. */
ULONGEST length () const
{
return this->m_length;