diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/cp/name-lookup.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index fab44f4..db629cd 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +2003-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * name-lookup.c (find_binding): Pass appropriate pointer type to + POP_TIMEVAR_AND_RETURN. + 2003-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> * Make-lang.in (cp-warn): Add $(STRICT_WARN). diff --git a/gcc/cp/name-lookup.c b/gcc/cp/name-lookup.c index b676711..0e39a9a 100644 --- a/gcc/cp/name-lookup.c +++ b/gcc/cp/name-lookup.c @@ -69,7 +69,7 @@ find_binding (cxx_scope *scope, cxx_binding *binding) if (BINDING_SCOPE (binding) == scope) POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, binding); - POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, NULL); + POP_TIMEVAR_AND_RETURN (TV_NAME_LOOKUP, (cxx_binding *)0); } /* Return the binding for NAME in SCOPE, if any. Otherwise, return NULL. */ |
