From ef9cd51faedf9370105b9f0d51baeeb08872ae8a Mon Sep 17 00:00:00 2001 From: "dr%netscape.com" Date: Thu, 1 Mar 2001 02:44:24 +0000 Subject: [PATCH] 70386 (warning fix), r=timeless git-svn-id: svn://10.0.0.236/trunk@88263 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/base/src/nsStyleContext.cpp | 2 +- mozilla/layout/style/nsStyleContext.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/content/base/src/nsStyleContext.cpp b/mozilla/content/base/src/nsStyleContext.cpp index cc960666fa2..f1b10ca5cb1 100644 --- a/mozilla/content/base/src/nsStyleContext.cpp +++ b/mozilla/content/base/src/nsStyleContext.cpp @@ -3795,7 +3795,7 @@ void StyleContextImpl::List(FILE* out, PRInt32 aIndent) // Indent PRInt32 ix; for (ix = aIndent; --ix >= 0; ) fputs(" ", out); - fprintf(out, "%p(%d) ", this, mRefCnt); + fprintf(out, "%p(%d) ", (void*)this, mRefCnt); if (nsnull != mPseudoTag) { nsAutoString buffer; mPseudoTag->ToString(buffer); diff --git a/mozilla/layout/style/nsStyleContext.cpp b/mozilla/layout/style/nsStyleContext.cpp index cc960666fa2..f1b10ca5cb1 100644 --- a/mozilla/layout/style/nsStyleContext.cpp +++ b/mozilla/layout/style/nsStyleContext.cpp @@ -3795,7 +3795,7 @@ void StyleContextImpl::List(FILE* out, PRInt32 aIndent) // Indent PRInt32 ix; for (ix = aIndent; --ix >= 0; ) fputs(" ", out); - fprintf(out, "%p(%d) ", this, mRefCnt); + fprintf(out, "%p(%d) ", (void*)this, mRefCnt); if (nsnull != mPseudoTag) { nsAutoString buffer; mPseudoTag->ToString(buffer);