aboutsummaryrefslogtreecommitdiff
path: root/gdb/gnu-v3-abi.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-05-12 15:28:31 +0000
committerEli Zaretskii <eliz@gnu.org>2005-05-12 15:28:31 +0000
commit358777b0d63059b9b231f4c8758bfb7a6df612ef (patch)
tree48fd9239c31cab4caab15457da97915a928a27ff /gdb/gnu-v3-abi.c
parent86b9da88237ffbbbfd990f0a6de2c7773412d0af (diff)
downloadgdb-358777b0d63059b9b231f4c8758bfb7a6df612ef.zip
gdb-358777b0d63059b9b231f4c8758bfb7a6df612ef.tar.gz
gdb-358777b0d63059b9b231f4c8758bfb7a6df612ef.tar.bz2
* gnu-v3-abi.c (init_gnuv3_ops): Cast is_gnu_v3_mangled_dtor and
is_gnu_v3_mangled_ctor to avoid compiler warnings.
Diffstat (limited to 'gdb/gnu-v3-abi.c')
-rw-r--r--gdb/gnu-v3-abi.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c
index 9dc0232..329e2b2 100644
--- a/gdb/gnu-v3-abi.c
+++ b/gdb/gnu-v3-abi.c
@@ -424,8 +424,10 @@ init_gnuv3_ops (void)
gnu_v3_abi_ops.shortname = "gnu-v3";
gnu_v3_abi_ops.longname = "GNU G++ Version 3 ABI";
gnu_v3_abi_ops.doc = "G++ Version 3 ABI";
- gnu_v3_abi_ops.is_destructor_name = is_gnu_v3_mangled_dtor;
- gnu_v3_abi_ops.is_constructor_name = is_gnu_v3_mangled_ctor;
+ gnu_v3_abi_ops.is_destructor_name =
+ (enum dtor_kinds (*) (const char *))is_gnu_v3_mangled_dtor;
+ gnu_v3_abi_ops.is_constructor_name =
+ (enum ctor_kinds (*) (const char *))is_gnu_v3_mangled_ctor;
gnu_v3_abi_ops.is_vtable_name = gnuv3_is_vtable_name;
gnu_v3_abi_ops.is_operator_name = gnuv3_is_operator_name;
gnu_v3_abi_ops.rtti_type = gnuv3_rtti_type;