Bug 1060419 - make log_print use Printf.h, r=froydnj
MozReview-Commit-ID: BIZ1GQEZ1vs
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
#include "nsNullPrincipal.h"
|
||||
|
||||
#include "mozilla/Logging.h"
|
||||
#include "mozilla/SizePrintfMacros.h"
|
||||
|
||||
using mozilla::fallible;
|
||||
using mozilla::LogLevel;
|
||||
@@ -1058,7 +1059,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, bool& aFlushTokens)
|
||||
aScanner.EndReading(end);
|
||||
|
||||
MOZ_LOG(gExpatDriverLog, LogLevel::Debug,
|
||||
("Remaining in expat's buffer: %i, remaining in scanner: %i.",
|
||||
("Remaining in expat's buffer: %i, remaining in scanner: %" PRIuSIZE ".",
|
||||
mExpatBuffered, Distance(start, end)));
|
||||
|
||||
// We want to call Expat if we have more buffers, or if we know there won't
|
||||
@@ -1206,7 +1207,7 @@ nsExpatDriver::ConsumeToken(nsScanner& aScanner, bool& aFlushTokens)
|
||||
aScanner.Mark();
|
||||
|
||||
MOZ_LOG(gExpatDriverLog, LogLevel::Debug,
|
||||
("Remaining in expat's buffer: %i, remaining in scanner: %i.",
|
||||
("Remaining in expat's buffer: %i, remaining in scanner: %" PRIuSIZE ".",
|
||||
mExpatBuffered, Distance(currentExpatPosition, end)));
|
||||
|
||||
return NS_SUCCEEDED(mInternalState) ? NS_ERROR_HTMLPARSER_EOF : NS_OK;
|
||||
|
||||
Reference in New Issue
Block a user