mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 740515: In nsIView::List fprintf call, wrap pointer in 'static_cast<void*>' to fix build warning. r=smaug
This commit is contained in:
parent
8081439810
commit
53c376e052
@ -987,7 +987,7 @@ void nsIView::List(FILE* out, PRInt32 aIndent) const
|
|||||||
fprintf(out, "{%d,%d,%d,%d}",
|
fprintf(out, "{%d,%d,%d,%d}",
|
||||||
brect.x, brect.y, brect.width, brect.height);
|
brect.x, brect.y, brect.width, brect.height);
|
||||||
fprintf(out, " z=%d vis=%d frame=%p <\n",
|
fprintf(out, " z=%d vis=%d frame=%p <\n",
|
||||||
mZIndex, mVis, mFrame);
|
mZIndex, mVis, static_cast<void*>(mFrame));
|
||||||
for (nsView* kid = mFirstChild; kid; kid = kid->GetNextSibling()) {
|
for (nsView* kid = mFirstChild; kid; kid = kid->GetNextSibling()) {
|
||||||
NS_ASSERTION(kid->GetParent() == this, "incorrect parent");
|
NS_ASSERTION(kid->GetParent() == this, "incorrect parent");
|
||||||
kid->List(out, aIndent + 1);
|
kid->List(out, aIndent + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user