Skip to content

Commit

Permalink
pythongh-115491: Fix Clang compiler warning (python#116153)
Browse files Browse the repository at this point in the history
pythongh-115491: Fix compiler warning on macOS
  • Loading branch information
colesbury authored and woodruffw committed Mar 4, 2024
1 parent cf1f378 commit 625d530
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 625d530

Please sign in to comment.