Unreviewed, fix build error on 64bit debug build
authorljaehun.lim@samsung.com <ljaehun.lim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Feb 2014 00:29:03 +0000 (00:29 +0000)
committerljaehun.lim@samsung.com <ljaehun.lim@samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Feb 2014 00:29:03 +0000 (00:29 +0000)
Apply static_cast<long long> to int64_t variable when '%lli' is used.

* Modules/indexeddb/IDBDatabaseBackend.cpp:
(WebCore::IDBDatabaseBackend::clearObjectStore):
* Modules/indexeddb/IDBTransaction.cpp:
(WebCore::IDBTransaction::setActive):

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

Source/WebCore/ChangeLog
Source/WebCore/Modules/indexeddb/IDBDatabaseBackend.cpp
Source/WebCore/Modules/indexeddb/IDBTransaction.cpp

index 2d308a6..e97fcf3 100644 (file)
@@ -1,3 +1,14 @@
+2014-02-06  Jaehun Lim  <ljaehun.lim@samsung.com>
+
+        Unreviewed, fix build error on 64bit debug build
+
+        Apply static_cast<long long> to int64_t variable when '%lli' is used.
+
+        * Modules/indexeddb/IDBDatabaseBackend.cpp:
+        (WebCore::IDBDatabaseBackend::clearObjectStore):
+        * Modules/indexeddb/IDBTransaction.cpp:
+        (WebCore::IDBTransaction::setActive):
+
 2014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
 
         Web Inspector: Add Console support to JSContext Inspection
index b774eb3..24d31f0 100644 (file)
@@ -308,7 +308,7 @@ void IDBDatabaseBackend::deleteRange(int64_t transactionId, int64_t objectStoreI
 
 void IDBDatabaseBackend::clearObjectStore(int64_t transactionId, int64_t objectStoreId, PassRefPtr<IDBCallbacks> callbacks)
 {
-    LOG(StorageAPI, "IDBDatabaseBackend::clearObjectStore %lli in transaction %lli", objectStoreId, transactionId);
+    LOG(StorageAPI, "IDBDatabaseBackend::clearObjectStore %lli in transaction %lli", static_cast<long long>(objectStoreId), static_cast<long long>(transactionId));
     IDBTransactionBackend* transaction = m_transactions.get(transactionId);
     if (!transaction)
         return;
index ff250db..2e481a7 100644 (file)
@@ -192,7 +192,7 @@ void IDBTransaction::objectStoreDeleted(const String& name)
 
 void IDBTransaction::setActive(bool active)
 {
-    LOG(StorageAPI, "IDBTransaction::setActive(%s) for transaction id %lli", active ? "true" : "false", m_id);
+    LOG(StorageAPI, "IDBTransaction::setActive(%s) for transaction id %lli", active ? "true" : "false", static_cast<long long>(m_id));
     ASSERT_WITH_MESSAGE(m_state != Finished, "A finished transaction tried to setActive(%s)", active ? "true" : "false");
     if (m_state == Finishing)
         return;