Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan

This commit is contained in:
Isaac Aggrey
2012-10-11 18:38:04 -05:00
parent 17e9a07e3c
commit 50d6240e45
96 changed files with 458 additions and 464 deletions

View File

@@ -570,7 +570,7 @@ nsUrlClassifierDBServiceWorker::FinishStream()
// XXX: Only allow forwards from the initial update?
const nsTArray<ProtocolParser::ForwardedUpdate> &forwards =
mProtocolParser->Forwards();
for (uint32 i = 0; i < forwards.Length(); i++) {
for (uint32_t i = 0; i < forwards.Length(); i++) {
const ProtocolParser::ForwardedUpdate &forward = forwards[i];
mUpdateObserver->UpdateUrlRequested(forward.url, forward.table, forward.mac);
}
@@ -983,7 +983,7 @@ nsUrlClassifierLookupCallback::HandleResults()
// until the next update.
nsAutoPtr<PrefixArray> cacheMisses(new PrefixArray());
if (cacheMisses) {
for (uint32 i = 0; i < mResults->Length(); i++) {
for (uint32_t i = 0; i < mResults->Length(); i++) {
LookupResult &result = mResults->ElementAt(i);
if (!result.Confirmed()) {
cacheMisses->AppendElement(result.PrefixHash());