From 2865c087a87397b9664c9368bab1f34be91cb17f Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Mon, 8 Mar 2010 19:47:37 -0500 Subject: [PATCH] Bug 550842 followup. Make this actually compile. --- content/base/src/nsGenericElement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/base/src/nsGenericElement.cpp b/content/base/src/nsGenericElement.cpp index 6f2707ec3a61..f8c72f0b07ac 100644 --- a/content/base/src/nsGenericElement.cpp +++ b/content/base/src/nsGenericElement.cpp @@ -5176,7 +5176,7 @@ TryMatchingElementsInSubtree(nsINode* aRoot, * parent data chain, since we have those Around anyway */ union { char c[2 * sizeof(RuleProcessorData)]; void *p; } databuf; RuleProcessorData* prevSibling = nsnull; - RuleProcessorData* data = reinterpret_cast(databuf); + RuleProcessorData* data = reinterpret_cast(databuf.c); PRBool continueIteration = PR_TRUE; for (nsINode::ChildIterator iter(aRoot); !iter.IsDone(); iter.Next()) {