Index: base/rand_util_nacl.cc |
diff --git a/base/rand_util_nacl.cc b/base/rand_util_nacl.cc |
index b771dc44547dbce7f3b99058cab0c6bce4c43fe1..35b4b26c68d97544b8fb42599bfa9f4678192060 100644 |
--- a/base/rand_util_nacl.cc |
+++ b/base/rand_util_nacl.cc |
@@ -5,8 +5,9 @@ |
#include "base/rand_util.h" |
#include <nacl/nacl_random.h> |
+#include <stddef.h> |
+#include <stdint.h> |
-#include "base/basictypes.h" |
#include "base/logging.h" |
namespace { |
@@ -28,8 +29,8 @@ void GetRandomBytes(void* output, size_t num_bytes) { |
namespace base { |
// NOTE: This function must be cryptographically secure. http://crbug.com/140076 |
-uint64 RandUint64() { |
- uint64 result; |
+uint64_t RandUint64() { |
+ uint64_t result; |
GetRandomBytes(&result, sizeof(result)); |
return result; |
} |