Fix compatibility for x64 architecture
authorBaptiste DURAND <baptiste.durand@eurogiciel.fr>
Fri, 7 Jun 2013 08:19:40 +0000 (10:19 +0200)
committerRusty Lynch <rusty.lynch@intel.com>
Fri, 7 Jun 2013 20:19:59 +0000 (13:19 -0700)
-> Fix type error :  invalid initialization of reference of type 'long long int&' from expression of type 'int64_t {aka long int}'

Source/WebCore/Modules/indexeddb/IDBDatabaseBackendImpl.cpp
Source/WebCore/Modules/indexeddb/IDBObjectStoreBackendImpl.cpp

index 0d18008..5c32794 100755 (executable)
@@ -648,7 +648,7 @@ int64_t IDBDatabaseBackendImpl::getDatabaseFileSize(ExceptionCode& ec)
     Vector<String> paths = WebCore::listDirectory(fullPath, ("*"));
     size_t pathsCount = paths.size();
     for (size_t i = 0; i< pathsCount; ++i) {
-        int64_t size = 0;
+        long long  size = 0;
         if (!getFileSize(paths[i], size)) {
             ec = IDBDatabaseException::DATA_ERR;
             return false;
index c7c84d2..6612dc0 100755 (executable)
@@ -614,7 +614,7 @@ int64_t IDBObjectStoreBackendImpl::getDatabaseFileSize(ExceptionCode& ec)
     Vector<String> paths = WebCore::listDirectory(fullPath, ("*"));
     size_t pathsCount = paths.size();
     for (size_t i = 0; i< pathsCount; ++i) {
-        int64_t size = 0;
+        long long size = 0;
         if (!getFileSize(paths[i], size)) {
             ec = IDBDatabaseException::DATA_ERR;
             return false;