diff options
author | DJ Delorie <dj@redhat.com> | 2002-09-20 13:45:20 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2002-09-20 13:45:20 +0000 |
commit | 585cc78f65f55dd5834911fbbe21b654c52f7bee (patch) | |
tree | a43a631b29706b85c9ab12c6c91181d2e7e07671 /libiberty/cp-demangle.c | |
parent | 6d305052679525c19163606e9968d8c67b2ca4f2 (diff) | |
download | gdb-585cc78f65f55dd5834911fbbe21b654c52f7bee.zip gdb-585cc78f65f55dd5834911fbbe21b654c52f7bee.tar.gz gdb-585cc78f65f55dd5834911fbbe21b654c52f7bee.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/cp-demangle.c')
-rw-r--r-- | libiberty/cp-demangle.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libiberty/cp-demangle.c b/libiberty/cp-demangle.c index eece533..9adf5fd 100644 --- a/libiberty/cp-demangle.c +++ b/libiberty/cp-demangle.c @@ -835,8 +835,8 @@ demangling_new (name, style) return NULL; } dm->style = style; - dm->is_constructor = 0; - dm->is_destructor = 0; + dm->is_constructor = (enum gnu_v3_ctor_kinds) 0; + dm->is_destructor = (enum gnu_v3_dtor_kinds) 0; return dm; } @@ -974,7 +974,7 @@ demangle_char (dm, c) else { if (error_message == NULL) - error_message = strdup ("Expected ?"); + error_message = (char *) strdup ("Expected ?"); error_message[9] = c; return error_message; } @@ -3974,7 +3974,7 @@ is_gnu_v3_mangled_ctor (name) return result; } else - return 0; + return (enum gnu_v3_ctor_kinds) 0; } @@ -3996,7 +3996,7 @@ is_gnu_v3_mangled_dtor (name) return result; } else - return 0; + return (enum gnu_v3_dtor_kinds) 0; } #endif /* IN_GLIBCPP_V3 */ |