aboutsummaryrefslogtreecommitdiff
path: root/libiberty/cp-demangle.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2009-05-19 03:02:30 +0000
committerDJ Delorie <dj@redhat.com>2009-05-19 03:02:30 +0000
commit4e55d6c3ee45302988c77b7c1af1d842607ae416 (patch)
tree16e92e6a3faada71057e4c32703a531964f79c2b /libiberty/cp-demangle.c
parent191c4426c1ffa97a8b818c4d4280eb095de811eb (diff)
downloadgdb-4e55d6c3ee45302988c77b7c1af1d842607ae416.zip
gdb-4e55d6c3ee45302988c77b7c1af1d842607ae416.tar.gz
gdb-4e55d6c3ee45302988c77b7c1af1d842607ae416.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r--libiberty/cp-demangle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c
index b02f9bb..4f309ef 100644
--- a/libiberty/cp-demangle.c
+++ b/libiberty/cp-demangle.c
@@ -719,8 +719,8 @@ cplus_demangle_fill_ctor (struct demangle_component *p,
{
if (p == NULL
|| name == NULL
- || (kind < gnu_v3_complete_object_ctor
- && kind > gnu_v3_complete_object_allocating_ctor))
+ || (int) kind < gnu_v3_complete_object_ctor
+ || (int) kind > gnu_v3_complete_object_allocating_ctor)
return 0;
p->type = DEMANGLE_COMPONENT_CTOR;
p->u.s_ctor.kind = kind;
@@ -738,8 +738,8 @@ cplus_demangle_fill_dtor (struct demangle_component *p,
{
if (p == NULL
|| name == NULL
- || (kind < gnu_v3_deleting_dtor
- && kind > gnu_v3_base_object_dtor))
+ || (int) kind < gnu_v3_deleting_dtor
+ || (int) kind > gnu_v3_base_object_dtor)
return 0;
p->type = DEMANGLE_COMPONENT_DTOR;
p->u.s_dtor.kind = kind;