* class.c (base_derived_from): Make sure return value is a bool.
From-SVN: r58290
This commit is contained in:
parent
5a6be855cb
commit
e4f4feba32
@ -1,3 +1,7 @@
|
||||
2002-10-18 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* class.c (base_derived_from): Make sure return value is a bool.
|
||||
|
||||
2002-10-18 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
* class.c (find_final_overrider_data_s): Remove overriding_fn and
|
||||
|
@ -2225,7 +2225,7 @@ dfs_base_derived_from (tree binfo, void *data)
|
||||
static bool
|
||||
base_derived_from (tree derived, tree base)
|
||||
{
|
||||
return dfs_walk (derived, dfs_base_derived_from, NULL, base);
|
||||
return dfs_walk (derived, dfs_base_derived_from, NULL, base) != NULL_TREE;
|
||||
}
|
||||
|
||||
typedef struct find_final_overrider_data_s {
|
||||
|
Loading…
Reference in New Issue
Block a user