0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-13 14:09:19 +00:00
termux-packages/disabled-packages/webkit2gtk-4.0/pas_min_heap.h.patch
Tee KOBAYASHI e7f5169385 webkit2gtk: Disabled
in favor of webkit2gtk-4.1.

%ci:no-build
2022-10-30 11:47:48 +09:00

12 lines
485 B
Diff

--- a/Source/bmalloc/libpas/src/libpas/pas_min_heap.h
+++ b/Source/bmalloc/libpas/src/libpas/pas_min_heap.h
@@ -260,7 +260,7 @@
\
size_t index = config.get_index(&element); \
PAS_ASSERT(index); \
- PAS_ASSERT(!bcmp(name##_get_ptr_by_index(min_heap, index), &element, sizeof(type))); \
+ PAS_ASSERT(!memcmp(name##_get_ptr_by_index(min_heap, index), &element, sizeof(type))); \
name##_remove_by_index(min_heap, index); \
} \
\