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
Родитель fa50a95c2d
Коммит b0b4b1411c
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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;