From 4402af7a654babb4815dc286ffa095a5e4af811d Mon Sep 17 00:00:00 2001 From: "bryner%uiuc.edu" Date: Tue, 28 Dec 1999 20:26:56 +0000 Subject: [PATCH] Fix a warning. r=mcafee. git-svn-id: svn://10.0.0.236/trunk@56573 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/base/nsPresShell.cpp | 2 +- mozilla/layout/html/base/src/nsPresShell.cpp | 2 +- mozilla/xpcom/proxy/tests/proxytests.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 55327b0ed25..0d56f9f9978 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -1819,7 +1819,7 @@ struct ReflowEvent : public PLEvent { if (presShell) { #ifdef DEBUG if (VERIFY_REFLOW_NOISY_RC & gVerifyReflowFlags) { - printf("\n*** Handling reflow event: PresShell=%p, event=%p\n", presShell, this); + printf("\n*** Handling reflow event: PresShell=%p, event=%p\n", presShell.get(), this); } #endif presShell->SetReflowEventStatus(PR_FALSE); diff --git a/mozilla/layout/html/base/src/nsPresShell.cpp b/mozilla/layout/html/base/src/nsPresShell.cpp index 55327b0ed25..0d56f9f9978 100644 --- a/mozilla/layout/html/base/src/nsPresShell.cpp +++ b/mozilla/layout/html/base/src/nsPresShell.cpp @@ -1819,7 +1819,7 @@ struct ReflowEvent : public PLEvent { if (presShell) { #ifdef DEBUG if (VERIFY_REFLOW_NOISY_RC & gVerifyReflowFlags) { - printf("\n*** Handling reflow event: PresShell=%p, event=%p\n", presShell, this); + printf("\n*** Handling reflow event: PresShell=%p, event=%p\n", presShell.get(), this); } #endif presShell->SetReflowEventStatus(PR_FALSE); diff --git a/mozilla/xpcom/proxy/tests/proxytests.cpp b/mozilla/xpcom/proxy/tests/proxytests.cpp index 9dd8a3a2097..2fa491cf7e9 100644 --- a/mozilla/xpcom/proxy/tests/proxytests.cpp +++ b/mozilla/xpcom/proxy/tests/proxytests.cpp @@ -267,7 +267,7 @@ void TestCase_NestedLoop(void *arg) NS_GET_IID(nsIProxyObjectManager), (nsISupports **)&manager); - printf("ProxyObjectManager: %d \n", manager); + printf("ProxyObjectManager: %p \n", manager); PR_ASSERT(manager);