Bug 766341 - Fix debug warnings in nsDocShell.cpp r=smaug

This commit is contained in:
David Zbarsky
2012-06-19 17:10:14 -07:00
parent aa4f573c26
commit 71fece426b

View File

@@ -786,7 +786,7 @@ nsDocShell::nsDocShell():
// We're counting the number of |nsDocShells| to help find leaks
++gNumberOfDocShells;
if (!PR_GetEnv("MOZ_QUIET")) {
printf("++DOCSHELL %p == %ld [id = %ld]\n", (void*) this,
printf("++DOCSHELL %p == %ld [id = %llu]\n", (void*) this,
gNumberOfDocShells, mHistoryID);
}
#endif
@@ -815,7 +815,7 @@ nsDocShell::~nsDocShell()
// We're counting the number of |nsDocShells| to help find leaks
--gNumberOfDocShells;
if (!PR_GetEnv("MOZ_QUIET")) {
printf("--DOCSHELL %p == %ld [id = %ld]\n", (void*) this,
printf("--DOCSHELL %p == %ld [id = %llu]\n", (void*) this,
gNumberOfDocShells, mHistoryID);
}
#endif