OSDN Git Service

* name-lookup.c (find_binding): Pass appropriate pointer type to
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Apr 2003 22:35:22 +0000 (22:35 +0000)
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 4 Apr 2003 22:35:22 +0000 (22:35 +0000)
POP_TIMEVAR_AND_RETURN.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65253 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/ChangeLog
gcc/cp/name-lookup.c

index fab44f4..db629cd 100644 (file)
@@ -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).
index b676711..0e39a9a 100644 (file)
@@ -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.  */