Bug 550842 followup. Make this actually compile.

This commit is contained in:
Boris Zbarsky 2010-03-08 19:47:37 -05:00
parent b0cccbd08b
commit 2865c087a8

View File

@ -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<RuleProcessorData*>(databuf);
RuleProcessorData* data = reinterpret_cast<RuleProcessorData*>(databuf.c);
PRBool continueIteration = PR_TRUE;
for (nsINode::ChildIterator iter(aRoot); !iter.IsDone(); iter.Next()) {