mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 539585: Fix "warning: format '%p' expects type 'void*'" in layout directory. r=dbaron
This commit is contained in:
parent
40f5cf3a1c
commit
41a9eb240f
@ -879,7 +879,8 @@ CSSImportantRule::List(FILE* out, PRInt32 aIndent) const
|
||||
// Indent
|
||||
for (PRInt32 index = aIndent; --index >= 0; ) fputs(" ", out);
|
||||
|
||||
fprintf(out, "! Important rule block=%p\n", mImportantBlock.get());
|
||||
fprintf(out, "! Important rule block=%p\n",
|
||||
static_cast<void*>(mImportantBlock.get()));
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
|
@ -3472,7 +3472,8 @@ nsTableFrame::DumpRowGroup(nsIFrame* aKidFrame)
|
||||
while (cFrame) {
|
||||
nsTableRowFrame *rowFrame = do_QueryFrame(cFrame);
|
||||
if (rowFrame) {
|
||||
printf("row(%d)=%p ", rowFrame->GetRowIndex(), rowFrame);
|
||||
printf("row(%d)=%p ", rowFrame->GetRowIndex(),
|
||||
static_cast<void*>(rowFrame));
|
||||
nsIFrame* childFrame = cFrame->GetFirstChild(nsnull);
|
||||
while (childFrame) {
|
||||
nsTableCellFrame *cellFrame = do_QueryFrame(childFrame);
|
||||
@ -3523,7 +3524,7 @@ nsTableFrame::Dump(PRBool aDumpRows,
|
||||
if (0 == (colX % 8)) {
|
||||
printf("\n");
|
||||
}
|
||||
printf ("%d=%p ", colX, colFrame);
|
||||
printf ("%d=%p ", colX, static_cast<void*>(colFrame));
|
||||
nsTableColType colType = colFrame->GetColType();
|
||||
switch (colType) {
|
||||
case eColContent:
|
||||
|
Loading…
Reference in New Issue
Block a user