diff options
author | Eli Zaretskii <eliz@gnu.org> | 2005-05-12 15:28:31 +0000 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2005-05-12 15:28:31 +0000 |
commit | e45a1897f46dc154068628f0c6eeb4e0c8ac351b (patch) | |
tree | f0017bca32fe8b145a22c9240875bda98d8ec450 /gdb/gnu-v3-abi.c | |
parent | 9c8426bdea9e5aeba3dd7115af9ecbb3caa1c499 (diff) | |
download | gdb-e45a1897f46dc154068628f0c6eeb4e0c8ac351b.tar.gz |
* 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.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/gnu-v3-abi.c b/gdb/gnu-v3-abi.c index 9dc0232a64d..329e2b208c5 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; |