bhyve-fw: drop CSM
[oi-userland.git] / components / library / webkitgtk / patches / 16-cast.patch
blobbb668bb48fc39e65f9419cb58f85cf72c52128ff
1 --- webkitgtk-2.42.1/Source/JavaScriptCore/heap/BlockDirectory.cpp 2023-09-19 10:27:45.315785400 +0200
2 +++ webkitgtk-2.42.1/Source/JavaScriptCore/heap/BlockDirectory.cpp.new 2023-11-03 16:49:53.019682578 +0100
3 @@ -77,7 +77,7 @@
4 auto markedBlockSizeInBytes = handle->backingStorageSize();
5 RELEASE_ASSERT(markedBlockSizeInBytes / pageSize <= numberOfPagesInMarkedBlock);
6 // We could cache this in bulk (e.g. 25 MB chunks) but we haven't seen any data that it actually matters.
7 - auto result = mincore(pageStart, markedBlockSizeInBytes, pagedBits.data());
8 + auto result = mincore((char *) pageStart, markedBlockSizeInBytes, pagedBits.data());
9 RELEASE_ASSERT(!result);
10 constexpr unsigned pageIsResidentAndNotCompressed = 1;
11 for (unsigned i = 0; i < numberOfPagesInMarkedBlock; ++i)