Index: ipc/ipc_channel_reader_unittest.cc |
diff --git a/ipc/ipc_channel_reader_unittest.cc b/ipc/ipc_channel_reader_unittest.cc |
index b83f08cd59a14360bb9a9b6f1aba70b2e9020c53..4ec71b53676e95f9f8eaa7fee5298591a59d2308 100644 |
--- a/ipc/ipc_channel_reader_unittest.cc |
+++ b/ipc/ipc_channel_reader_unittest.cc |
@@ -4,6 +4,9 @@ |
#include "build/build_config.h" |
+#include <stddef.h> |
+#include <stdint.h> |
+ |
#include <limits> |
#include <set> |
@@ -216,7 +219,7 @@ TEST(ChannelReaderTest, InvalidMessageSize) { |
reinterpret_cast<const char*>(&header), sizeof(header))); |
EXPECT_LE(reader.input_overflow_buf_.capacity(), capacity_before); |
- // Payload size is maximum int32 value |
+ // Payload size is maximum int32_t value |
header.payload_size = std::numeric_limits<int32_t>::max(); |
EXPECT_FALSE(reader.TranslateInputData( |
reinterpret_cast<const char*>(&header), sizeof(header))); |