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 diegorusso committed Apr 17, 2024
1 parent 588ae39 commit b1dd0bb
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 b1dd0bb

Please sign in to comment.