Index: ipc/ipc_channel.cc |
diff --git a/ipc/ipc_channel.cc b/ipc/ipc_channel.cc |
index ac09c5ab1ef1d00b31c4f3a2e7b0a260673dbfbe..e659205ae6d290eab2b13aa07a270e3d56e6f335 100644 |
--- a/ipc/ipc_channel.cc |
+++ b/ipc/ipc_channel.cc |
@@ -4,6 +4,8 @@ |
#include "ipc/ipc_channel.h" |
+#include <stdint.h> |
+ |
#include <limits> |
#include "base/atomic_sequence_num.h" |
@@ -38,7 +40,7 @@ std::string Channel::GenerateUniqueRandomChannelID() { |
return base::StringPrintf("%d.%u.%d", |
process_id, |
g_last_id.GetNext(), |
- base::RandInt(0, std::numeric_limits<int32>::max())); |
+ base::RandInt(0, std::numeric_limits<int32_t>::max())); |
} |
} // namespace IPC |