summaryrefslogtreecommitdiff
path: root/include/mimalloc-internal.h
diff options
context:
space:
mode:
authorhank <hankluo6@gmail.com>2021-06-21 22:36:47 +0800
committerhank <hankluo6@gmail.com>2021-06-21 22:36:47 +0800
commit1c1571742d24b9cfbdbef4a3c537018f41756c64 (patch)
treecb23e40a56d6bfab6f7331feb848d7fbc352fe41 /include/mimalloc-internal.h
parent076f815cece59e0a0ee08237c8fbba75465452b6 (diff)
fix typo
Diffstat (limited to 'include/mimalloc-internal.h')
-rw-r--r--include/mimalloc-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mimalloc-internal.h b/include/mimalloc-internal.h
index 1e1a796..825b0ed 100644
--- a/include/mimalloc-internal.h
+++ b/include/mimalloc-internal.h
@@ -427,7 +427,7 @@ static inline mi_page_t* _mi_ptr_page(void* p) {
return _mi_segment_page_of(_mi_ptr_segment(p), p);
}
-// Get the block size of a page (special cased for huge objects)
+// Get the block size of a page (special case for huge objects)
static inline size_t mi_page_block_size(const mi_page_t* page) {
const size_t bsize = page->xblock_size;
mi_assert_internal(bsize > 0);