From 7c4419bc2501dee1904d60c7476e4ac906f8a389 Mon Sep 17 00:00:00 2001 From: "benjamin%smedbergs.us" Date: Mon, 13 Nov 2006 20:44:52 +0000 Subject: [PATCH] Use 0 instead of NULL in non-pointer context, fixes XCode 2.2 build, r=stejohns --- js/tamarin/core/E4XNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tamarin/core/E4XNode.cpp b/js/tamarin/core/E4XNode.cpp index f4c98065eba..63db808ed4d 100644 --- a/js/tamarin/core/E4XNode.cpp +++ b/js/tamarin/core/E4XNode.cpp @@ -944,7 +944,7 @@ namespace avmplus if (XMLObject::notifyNeeded(newXML)) { - Atom detail = prior ? prior->getValue()->atom() : NULL; + Atom detail = prior ? prior->getValue()->atom() : 0; XMLObject* target = new (core->GetGC()) XMLObject(toplevel->xmlClass(), newXML); target->nonChildChanges(toplevel->xmlClass()->kTextSet, newXML->getValue()->atom(), detail); }