summaryrefslogtreecommitdiffstats
path: root/base/rand_util_win.cc
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 23:28:29 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-14 23:28:29 +0000
commitba990126c119b5df777b9afcdc3d216cb9f21e5b (patch)
tree50025bd522a070efa235fff202040a95786323aa /base/rand_util_win.cc
parentc7166029d29e0f702a0ec4c3efc9aa4319de35cb (diff)
downloadchromium_src-ba990126c119b5df777b9afcdc3d216cb9f21e5b.zip
chromium_src-ba990126c119b5df777b9afcdc3d216cb9f21e5b.tar.gz
chromium_src-ba990126c119b5df777b9afcdc3d216cb9f21e5b.tar.bz2
RandUInt -> RandUint to match the style of other Uint functions.
Review URL: http://codereview.chromium.org/10767 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5517 0039d316-1c4b-4281-b951-d872f2087c98
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;
}