Bug 1384233 - Remove SizePrintfMacros.h. r=froydnj
We have a minimum requirement of VS 2015 for Windows builds, which supports the z length modifier for format specifiers. So we don't need SizePrintfMacros.h any more, and can just use %zu and friends directly everywhere. MozReview-Commit-ID: 6s78RvPFMzv
This commit is contained in:
@@ -17,7 +17,6 @@
|
||||
#include "RiceDeltaDecoder.h"
|
||||
#include "mozilla/EndianUtils.h"
|
||||
#include "mozilla/IntegerPrintfMacros.h"
|
||||
#include "mozilla/SizePrintfMacros.h"
|
||||
|
||||
// MOZ_LOG=UrlClassifierProtocolParser:5
|
||||
mozilla::LazyLogModule gUrlClassifierProtocolParserLog("UrlClassifierProtocolParser");
|
||||
@@ -937,7 +936,7 @@ ProtocolParserProtobuf::ProcessRawAddition(TableUpdateV4& aTableUpdate,
|
||||
uint32_t* fixedLengthPrefixes = (uint32_t*)prefixes.c_str();
|
||||
size_t numOfFixedLengthPrefixes = prefixes.size() / 4;
|
||||
PARSER_LOG(("* Raw addition (4 bytes)"));
|
||||
PARSER_LOG((" - # of prefixes: %" PRIuSIZE, numOfFixedLengthPrefixes));
|
||||
PARSER_LOG((" - # of prefixes: %zu", numOfFixedLengthPrefixes));
|
||||
PARSER_LOG((" - Memory address: 0x%p", fixedLengthPrefixes));
|
||||
} else {
|
||||
// TODO: Process variable length prefixes including full hashes.
|
||||
|
||||
Reference in New Issue
Block a user