diff options
author | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 04:00:36 +0000 |
---|---|---|
committer | viettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-08 04:00:36 +0000 |
commit | da463967e200fe91ccc3384db8f8ba34c08f3847 (patch) | |
tree | ba720771cabfc0d3a2463de69b15faf65c061e31 /sql | |
parent | 53bfa860a4ede0a1f85f02b8d9d8a3896b6b0eb2 (diff) | |
download | chromium_src-da463967e200fe91ccc3384db8f8ba34c08f3847.zip chromium_src-da463967e200fe91ccc3384db8f8ba34c08f3847.tar.gz chromium_src-da463967e200fe91ccc3384db8f8ba34c08f3847.tar.bz2 |
Remove all uses of GG_LONGLONG and GG_ULONGLONG.
123LL and 123ULL now work everywhere. You can also use INT64_C and
UINT64_C (from <stdint.h>) in Chromium code (we force-define
__STDC_CONSTANT_MACROS). (And sometimes you can just use
static_cast<(u)int64_t>.)
Don't remove their definitions yet, because some macros that are
multiply-defined (in an identical way) rely on them. D'oh.
R=brettw@chromium.org
TBR=sky@chromium.org,satorux@chromium.org,vrk@chromium.org,rch@chromium.org,shess@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262147
Review URL: https://codereview.chromium.org/218953003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262294 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql')
-rw-r--r-- | sql/meta_table_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/meta_table_unittest.cc b/sql/meta_table_unittest.cc index 2ffb4bd..23b020f 100644 --- a/sql/meta_table_unittest.cc +++ b/sql/meta_table_unittest.cc @@ -210,8 +210,8 @@ TEST_F(SQLMetaTableTest, IntValue) { TEST_F(SQLMetaTableTest, Int64Value) { const char kKey[] = "Int Key"; - const int64 kFirstValue = GG_LONGLONG(5000000017); - const int64 kSecondValue = GG_LONGLONG(5000000023); + const int64 kFirstValue = 5000000017LL; + const int64 kSecondValue = 5000000023LL; // Initially, the value isn't there until set. { |