summaryrefslogtreecommitdiffstats
path: root/sql/meta_table_unittest.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-07 17:35:10 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-07 17:35:10 +0000
commit9406c05f78eccb7cc2849cf87a4202e1538ecb9c (patch)
tree37d27e2d2e2f820bc2c045c27a42894d3f76342f /sql/meta_table_unittest.cc
parent381ae07bab785f46f54ee5ad770dbcfabbe92d6e (diff)
downloadchromium_src-9406c05f78eccb7cc2849cf87a4202e1538ecb9c.zip
chromium_src-9406c05f78eccb7cc2849cf87a4202e1538ecb9c.tar.gz
chromium_src-9406c05f78eccb7cc2849cf87a4202e1538ecb9c.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 Review URL: https://codereview.chromium.org/218953003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sql/meta_table_unittest.cc')
-rw-r--r--sql/meta_table_unittest.cc4
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.
{