Title: [250798] trunk/Source/WebCore
Revision
250798
Author
krol...@apple.com
Date
2019-10-07 15:14:27 -0700 (Mon, 07 Oct 2019)

Log Message

Unreviewed, build fix after r250666. Fix 32- vs. 64-bit mismatch on
32-bit builds.

* Modules/indexeddb/server/UniqueIDBDatabase.cpp:
(WebCore::IDBServer::estimateSize):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (250797 => 250798)


--- trunk/Source/WebCore/ChangeLog	2019-10-07 22:12:16 UTC (rev 250797)
+++ trunk/Source/WebCore/ChangeLog	2019-10-07 22:14:27 UTC (rev 250798)
@@ -1,3 +1,11 @@
+2019-10-07  Keith Rollin  <krol...@apple.com>
+
+        Unreviewed, build fix after r250666. Fix 32- vs. 64-bit mismatch on
+        32-bit builds.
+
+        * Modules/indexeddb/server/UniqueIDBDatabase.cpp:
+        (WebCore::IDBServer::estimateSize):
+
 2019-10-07  Ross Kirsling  <ross.kirsl...@sony.com>
 
         Unreviewed WinCairo build fix for r250786.

Modified: trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp (250797 => 250798)


--- trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp	2019-10-07 22:12:16 UTC (rev 250797)
+++ trunk/Source/WebCore/Modules/indexeddb/server/UniqueIDBDatabase.cpp	2019-10-07 22:14:27 UTC (rev 250798)
@@ -91,7 +91,7 @@
 static inline uint64_t estimateSize(const IDBKeyPath& keyPath)
 {
     return WTF::switchOn(keyPath, [](const String& path) {
-        return path.sizeInBytes();
+        return static_cast<uint64_t>(path.sizeInBytes());
     }, [](const Vector<String>& paths) {
         uint64_t size = 0;
         for (auto path : paths)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to