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

Unified Diff: tools/ipc_fuzzer/message_lib/message_cracker.h

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/message_dump/message_dump.cc ('k') | tools/ipc_fuzzer/message_lib/message_file.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/ipc_fuzzer/message_lib/message_cracker.h
diff --git a/tools/ipc_fuzzer/message_lib/message_cracker.h b/tools/ipc_fuzzer/message_lib/message_cracker.h
index 37acf9618303a5bc6b55b7fd67d1caf40ee8da8d..fcfc25755fff724835837a1c6ee66a2fb2ede69b 100644
--- a/tools/ipc_fuzzer/message_lib/message_cracker.h
+++ b/tools/ipc_fuzzer/message_lib/message_cracker.h
@@ -5,7 +5,9 @@
#ifndef TOOLS_IPC_FUZZER_MESSAGE_LIB_MESSAGE_CRACKER_H_
#define TOOLS_IPC_FUZZER_MESSAGE_LIB_MESSAGE_CRACKER_H_
+#include <stdint.h>
#include <string.h>
+#include "base/macros.h"
#include "ipc/ipc_message.h"
// Means for updating protected message fields.
@@ -17,7 +19,7 @@ class MessageCracker : public IPC::Message {
sizeof(int));
}
- static void SetMessageType(IPC::Message* message, uint32 type) {
+ static void SetMessageType(IPC::Message* message, uint32_t type) {
ToCracker(message)->header()->type = type;
}
« no previous file with comments | « tools/ipc_fuzzer/message_dump/message_dump.cc ('k') | tools/ipc_fuzzer/message_lib/message_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698