Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Unified Diff: net/base/hash_value.cc

Issue 1158923005: Use the exact-width integer types defined in <stdint.h> rather than (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Tweak comments. Exclude mime_sniffer*. Rebase. Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/hash_value.cc
diff --git a/net/base/hash_value.cc b/net/base/hash_value.cc
index 9ae1412058d5baf7f096b1bdc3c5aa631e05dd75..2a751cd21924e3525259185a3eb51f91443f3aa7 100644
--- a/net/base/hash_value.cc
+++ b/net/base/hash_value.cc
@@ -112,7 +112,7 @@ const unsigned char* HashValue::data() const {
}
bool IsSHA1HashInSortedArray(const SHA1HashValue& hash,
- const uint8* array,
+ const uint8_t* array,
size_t array_byte_len) {
DCHECK_EQ(0u, array_byte_len % base::kSHA1Length);
const size_t arraylen = array_byte_len / base::kSHA1Length;

Powered by Google App Engine
This is Rietveld 408576698