Skip to content

Commit

Permalink
gh-115491: Fix Clang compiler warning (#116153)
Browse files Browse the repository at this point in the history
gh-115491: Fix compiler warning on macOS
  • Loading branch information
colesbury authored Mar 1, 2024
1 parent ca56c3a commit d7ddd90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/mimalloc/alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ terms of the MIT license. A copy of the license can be found in the file
// ------------------------------------------------------

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

0 comments on commit d7ddd90

Please sign in to comment.