summaryrefslogtreecommitdiffstats
path: root/base/rand_util_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/rand_util_win.cc')
-rw-r--r--base/rand_util_win.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/base/rand_util_win.cc b/base/rand_util_win.cc
index 12cf11e..03176ab 100644
--- a/base/rand_util_win.cc
+++ b/base/rand_util_win.cc
@@ -11,7 +11,7 @@
namespace {
-uint32 RandUInt32() {
+uint32 RandUint32() {
uint32 number;
CHECK(rand_s(&number) == 0);
return number;
@@ -21,9 +21,9 @@ uint32 RandUInt32() {
namespace base {
-uint64 RandUInt64() {
- uint32 first_half = RandUInt32();
- uint32 second_half = RandUInt32();
+uint64 RandUint64() {
+ uint32 first_half = RandUint32();
+ uint32 second_half = RandUint32();
return (static_cast<uint64>(first_half) << 32) + second_half;
}