summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-30 14:55:27 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-30 14:55:27 +0000
commit1ce0660ee884bb08bb8375e9235622a6c06c368d (patch)
tree15a6eb527abf207ce8232d8fe6e9c3f452418282 /chrome
parente21bd0e65c3d00caa859dfe2b6c3ced811f2adb2 (diff)
downloadchromium_src-1ce0660ee884bb08bb8375e9235622a6c06c368d.zip
chromium_src-1ce0660ee884bb08bb8375e9235622a6c06c368d.tar.gz
chromium_src-1ce0660ee884bb08bb8375e9235622a6c06c368d.tar.bz2
Use RandUInt64 instead of going from signed to unsigned.
Review URL: http://codereview.chromium.org/6011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2714 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/safe_browsing/bloom_filter_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/safe_browsing/bloom_filter_unittest.cc b/chrome/browser/safe_browsing/bloom_filter_unittest.cc
index c0ac6cb..bbbf8e4 100644
--- a/chrome/browser/safe_browsing/bloom_filter_unittest.cc
+++ b/chrome/browser/safe_browsing/bloom_filter_unittest.cc
@@ -18,7 +18,7 @@
namespace {
uint32 GenHash() {
- return static_cast<uint32>(base::RandInt(INT_MIN, INT_MAX));
+ return static_cast<uint32>(base::RandUInt64());
}
}