Fix mac clang build with long long
authoralecflett@chromium.org <alecflett@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 00:35:02 +0000 (00:35 +0000)
committeralecflett@chromium.org <alecflett@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 6 Mar 2013 00:35:02 +0000 (00:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=111495

Unreviewed fix for mac build.

* Modules/indexeddb/IDBBackingStore.cpp:
(WebCore::IDBBackingStore::IDBBackingStore):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@144848 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebKit/chromium/tests/IDBBackingStoreTest.cpp

index c91a3c9..73a3384 100644 (file)
@@ -1,3 +1,13 @@
+2013-03-05  Alec Flett  <alecflett@chromium.org>
+
+        Fix mac clang build with long long
+        https://bugs.webkit.org/show_bug.cgi?id=111495
+
+        Unreviewed fix for mac build.
+
+        * Modules/indexeddb/IDBBackingStore.cpp:
+        (WebCore::IDBBackingStore::IDBBackingStore):
+
 2013-03-05  Aaron Colwell  <acolwell@chromium.org>
 
         Add V8Document.h include when the V8 code generator creates a toV8(Document*) call.
index 42558da..aa4cdc9 100644 (file)
@@ -94,8 +94,8 @@ TEST_F(IDBBackingStoreTest, PutGetConsistency)
 // Make sure that using very high ( more than 32 bit ) values for databaseId and objectStoreId still work.
 TEST_F(IDBBackingStoreTest, HighIds)
 {
-    const int64_t highDatabaseId = 1UL << 35;
-    const int64_t highObjectStoreId = 1UL << 39;
+    const int64_t highDatabaseId = 1ULL << 35;
+    const int64_t highObjectStoreId = 1ULL << 39;
     {
         IDBBackingStore::Transaction transaction1(m_backingStore.get());
         transaction1.begin();