From 5e9e1faedc97194e46f3fb4b3665ec416ce7efbf Mon Sep 17 00:00:00 2001 From: rajdakin Date: Sun, 31 Dec 2023 15:49:57 +0100 Subject: [MEMORY] Switched from a sparse array to a red-black tree (#1180) * [MEMORY] Switched from a sparse array to an RB tree * [RBTREE] Fixed the Android build --- src/mallochook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mallochook.c') diff --git a/src/mallochook.c b/src/mallochook.c index 52a09c74..1725a374 100644 --- a/src/mallochook.c +++ b/src/mallochook.c @@ -134,7 +134,7 @@ typedef void* (*pFpLLp_t)(void*, size_t, size_t, void*); size_t(*box_malloc_usable_size)(void*) = NULL; int GetTID(); -uint32_t getProtection(uintptr_t addr); +uint8_t getProtection(uintptr_t addr); // malloc_hack "2" handling // mmap history static int malloc_hack_2 = 0; -- cgit 1.4.1