Skip to content

Commit d7ddd90

Browse files
authored
gh-115491: Fix Clang compiler warning (#116153)
gh-115491: Fix compiler warning on macOS
1 parent ca56c3a commit d7ddd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/mimalloc/alloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ terms of the MIT license. A copy of the license can be found in the file
2727
// ------------------------------------------------------
2828

2929
#if (MI_DEBUG>0)
30-
static void mi_debug_fill(mi_page_t* page, mi_block_t* block, int c, size_t size) {
30+
static inline void mi_debug_fill(mi_page_t* page, mi_block_t* block, int c, size_t size) {
3131
size_t offset = (size_t)page->debug_offset;
3232
if (offset < size) {
3333
memset((char*)block + offset, c, size - offset);

0 commit comments

Comments
 (0)