mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00: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
447d661eb8
commit
bbb73d9b89
@ -987,7 +987,7 @@ void nsIView::List(FILE* out, PRInt32 aIndent) const
|
||||
fprintf(out, "{%d,%d,%d,%d}",
|
||||
brect.x, brect.y, brect.width, brect.height);
|
||||
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()) {
|
||||
NS_ASSERTION(kid->GetParent() == this, "incorrect parent");
|
||||
kid->List(out, aIndent + 1);
|
||||
|
Loading…
Reference in New Issue
Block a user