aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-valprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r--gdb/cp-valprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c
index 5222f7b..172edde 100644
--- a/gdb/cp-valprint.c
+++ b/gdb/cp-valprint.c
@@ -71,7 +71,7 @@ cp_is_vtbl_ptr_type(type)
static const char vtbl_ptr_name[] =
{ CPLUS_MARKER,'v','t','b','l','_','p','t','r','_','t','y','p','e', 0 };
- return (typename != NULL && !strcmp(typename, vtbl_ptr_name));
+ return (typename != NULL && STREQ(typename, vtbl_ptr_name));
}
/* Return truth value for the assertion that TYPE is of the type