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

Unified Diff: ipc/ipc_channel.cc

Issue 1322253003: ipc: Convert int types from basictypes.h to the ones from stdint.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months 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 | « no previous file | ipc/ipc_channel_nacl.cc » ('j') | ipc/ipc_channel_win.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | ipc/ipc_channel_nacl.cc » ('j') | ipc/ipc_channel_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698