diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gnu-v2-abi.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 66f6dd6..84fa773 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2015-10-29 Pedro Alves <palves@redhat.com> + * gnu-v2-abi.c (gnuv2_is_destructor_name) + (gnuv2_is_constructor_name): Add casts. + +2015-10-29 Pedro Alves <palves@redhat.com> + * common/common-exceptions.c (exception_none): Add cast. 2015-10-29 Pedro Alves <palves@redhat.com> diff --git a/gdb/gnu-v2-abi.c b/gdb/gnu-v2-abi.c index c508b55..6c2b92a 100644 --- a/gdb/gnu-v2-abi.c +++ b/gdb/gnu-v2-abi.c @@ -40,7 +40,7 @@ gnuv2_is_destructor_name (const char *name) || startswith (name, "__dt__")) return complete_object_dtor; else - return 0; + return (enum dtor_kinds) 0; } static enum ctor_kinds @@ -51,7 +51,7 @@ gnuv2_is_constructor_name (const char *name) || startswith (name, "__ct__")) return complete_object_ctor; else - return 0; + return (enum ctor_kinds) 0; } static int |