diff --git a/ps0001-p0035-ntdll-Cache-fast-synchronization-objects.mypatch b/ps0001-p0035-ntdll-Cache-fast-synchronization-objects.mypatch index 277b1a53..f1813cd9 100644 --- a/ps0001-p0035-ntdll-Cache-fast-synchronization-objects.mypatch +++ b/ps0001-p0035-ntdll-Cache-fast-synchronization-objects.mypatch @@ -100,7 +100,7 @@ index 25703ec121d..8386748db73 100644 + if (!entry) fast_sync_cache[0] = fast_sync_cache_initial_block; + else + { -+ static const size_t size = FAST_SYNC_CACHE_BLOCK_SIZE * sizeof(struct fast_sync_cache_entry *); ++ static const size_t size = FAST_SYNC_CACHE_BLOCK_SIZE * sizeof(struct fast_sync_cache_entry); + void *ptr = anon_mmap_alloc( size, PROT_READ | PROT_WRITE ); + if (ptr == MAP_FAILED) return NULL; + if (InterlockedCompareExchangePointer( (void **)&fast_sync_cache[entry], ptr, NULL ))