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

Unified Diff: net/spdy/fuzzing/hpack_fuzz_mutator.cc

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef Created 5 years 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
« no previous file with comments | « net/spdy/buffered_spdy_framer_unittest.cc ('k') | net/spdy/fuzzing/hpack_fuzz_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/fuzzing/hpack_fuzz_mutator.cc
diff --git a/net/spdy/fuzzing/hpack_fuzz_mutator.cc b/net/spdy/fuzzing/hpack_fuzz_mutator.cc
index 6301070e3c15227ee45e266210e22e90cfb0fb27..c0e76d25ffc4c4851ec61d9b5b1a5c9b33e23f5e 100644
--- a/net/spdy/fuzzing/hpack_fuzz_mutator.cc
+++ b/net/spdy/fuzzing/hpack_fuzz_mutator.cc
@@ -65,9 +65,8 @@ int main(int argc, char** argv) {
StringPiece block;
while (HpackFuzzUtil::NextHeaderBlock(&input, &block)) {
HpackFuzzUtil::FlipBits(
- reinterpret_cast<uint8*>(const_cast<char*>(block.data())),
- block.size(),
- flip_ratio);
+ reinterpret_cast<uint8_t*>(const_cast<char*>(block.data())),
+ block.size(), flip_ratio);
string prefix = HpackFuzzUtil::HeaderBlockPrefix(block.size());
« no previous file with comments | « net/spdy/buffered_spdy_framer_unittest.cc ('k') | net/spdy/fuzzing/hpack_fuzz_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698