Bug 504025 - [windows x64] casting pointer to long is illegal on win64; cast to PRUptrdiff for printing out pointers; r=cbiesinger

--HG--
extra : rebase_source : 9e9c5bc75f6d0c364bdd3d92b4b543da9f94b3bb
This commit is contained in:
Mook 2009-08-09 00:50:42 +02:00
parent 3261283c4d
commit c76fd52119

View File

@ -91,7 +91,7 @@ public:
return NS_OK;
}
LOG(("handle startevent=%8lX\n",(long)this));
LOG(("handle startevent=%p\n", this));
nsresult rv = mProxy->mObserver->OnStartRequest(mRequest, mContext);
if (NS_FAILED(rv)) {
LOG(("OnStartRequest failed [rv=%x] canceling request!\n", rv));
@ -138,7 +138,7 @@ public:
rv = mRequest->GetStatus(&status);
NS_ASSERTION(NS_SUCCEEDED(rv), "GetStatus failed for request!");
LOG(("handle stopevent=%8lX\n",(long)this));
LOG(("handle stopevent=%p\n", this));
(void) observer->OnStopRequest(mRequest, mContext, status);
return NS_OK;