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

Unified Diff: trunk/src/chrome/browser/safe_browsing/safe_browsing_store_file.cc

Issue 227743006: Revert 262147 "Remove all uses of GG_LONGLONG and GG_ULONGLONG." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 8 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
Index: trunk/src/chrome/browser/safe_browsing/safe_browsing_store_file.cc
===================================================================
--- trunk/src/chrome/browser/safe_browsing/safe_browsing_store_file.cc (revision 262163)
+++ trunk/src/chrome/browser/safe_browsing/safe_browsing_store_file.cc (working copy)
@@ -45,7 +45,7 @@
const uint32 kMinShardStride = 1 << 24;
// Strides over the entire SBPrefix space.
-const uint64 kMaxShardStride = 1ULL << 32;
+const uint64 kMaxShardStride = GG_LONGLONG(1u) << 32;
// Maximum SBPrefix value.
const SBPrefix kMaxSBPrefix = ~0;

Powered by Google App Engine
This is Rietveld 408576698