aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/rpmalloc/rpmalloc.h
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-09-17 12:48:38 +0200
committerGitHub Enterprise <[email protected]>2025-09-17 12:48:38 +0200
commit324d7ebca12909a91eb98c41ee73304ad7ee7ea6 (patch)
tree9d256567ed94da881713c2b252b8fc4a64b1134b /thirdparty/rpmalloc/rpmalloc.h
parentSorting oplog tree view by size would raise an error. (#497) (diff)
downloadzen-324d7ebca12909a91eb98c41ee73304ad7ee7ea6.tar.xz
zen-324d7ebca12909a91eb98c41ee73304ad7ee7ea6.zip
rpmalloc fixes (#499)
* fixed rpmalloc build on Linux and Mac * updated rpmalloc from develop branch on the advice of mjansson * enabled rpmalloc on all platforms note that this does not change any behaviour unless `--malloc=rpmalloc` is passed in on the command line. The default is still `mimalloc`.
Diffstat (limited to 'thirdparty/rpmalloc/rpmalloc.h')
-rw-r--r--thirdparty/rpmalloc/rpmalloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/thirdparty/rpmalloc/rpmalloc.h b/thirdparty/rpmalloc/rpmalloc.h
index 2e67280f9..d11292fb1 100644
--- a/thirdparty/rpmalloc/rpmalloc.h
+++ b/thirdparty/rpmalloc/rpmalloc.h
@@ -353,7 +353,7 @@ rpmalloc_heap_calloc(rpmalloc_heap_t* heap, size_t num, size_t size) RPMALLOC_AT
// also be strictly less than the span size (default 64KiB).
RPMALLOC_EXPORT RPMALLOC_ALLOCATOR void*
rpmalloc_heap_aligned_calloc(rpmalloc_heap_t* heap, size_t alignment, size_t num, size_t size) RPMALLOC_ATTRIB_MALLOC
- RPMALLOC_ATTRIB_ALLOC_SIZE2(2, 3);
+ RPMALLOC_ATTRIB_ALLOC_SIZE2(3, 4);
//! Reallocate the given block to at least the given size. The memory block MUST be allocated
// by the same heap given to this function.