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

Unified Diff: tools/ipc_fuzzer/fuzzer/mutator.cc

Issue 1549203002: Switch to standard integer types in tools/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « tools/ipc_fuzzer/fuzzer/mutator.h ('k') | tools/ipc_fuzzer/fuzzer/rand_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/fuzzer/mutator.cc
diff --git a/tools/ipc_fuzzer/fuzzer/mutator.cc b/tools/ipc_fuzzer/fuzzer/mutator.cc
index 7f1ff98585594f6bae69a4d727de6481f4831ec0..25cc58781b2d17007e1449c4afe4733cdf84a2d4 100644
--- a/tools/ipc_fuzzer/fuzzer/mutator.cc
+++ b/tools/ipc_fuzzer/fuzzer/mutator.cc
@@ -5,7 +5,6 @@
#include <algorithm>
#include <string>
-#include "base/basictypes.h"
#include "base/strings/string_util.h"
#include "base/strings/utf_string_conversions.h"
#include "tools/ipc_fuzzer/fuzzer/mutator.h"
@@ -64,20 +63,20 @@ void Mutator::FuzzWChar(wchar_t* value) {
FuzzIntegralType<wchar_t>(value, frequency_);
}
-void Mutator::FuzzUInt16(uint16* value) {
- FuzzIntegralType<uint16>(value, frequency_);
+void Mutator::FuzzUInt16(uint16_t* value) {
+ FuzzIntegralType<uint16_t>(value, frequency_);
}
-void Mutator::FuzzUInt32(uint32* value) {
- FuzzIntegralType<uint32>(value, frequency_);
+void Mutator::FuzzUInt32(uint32_t* value) {
+ FuzzIntegralType<uint32_t>(value, frequency_);
}
-void Mutator::FuzzInt64(int64* value) {
- FuzzIntegralType<int64>(value, frequency_);
+void Mutator::FuzzInt64(int64_t* value) {
+ FuzzIntegralType<int64_t>(value, frequency_);
}
-void Mutator::FuzzUInt64(uint64* value) {
- FuzzIntegralType<uint64>(value, frequency_);
+void Mutator::FuzzUInt64(uint64_t* value) {
+ FuzzIntegralType<uint64_t>(value, frequency_);
}
void Mutator::FuzzFloat(float* value) {
« no previous file with comments | « tools/ipc_fuzzer/fuzzer/mutator.h ('k') | tools/ipc_fuzzer/fuzzer/rand_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698