diff options
author | Sam Gross <colesbury@gmail.com> | 2024-03-01 00:02:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-01 00:02:44 (GMT) |
commit | d7ddd90308324340855ddb9cc8dda2c1ee3a5944 (patch) | |
tree | 13bc0153bfea8ca031618f91c65c5c524eb56d96 | |
parent | ca56c3a172e4ca08c278ddaf66ac2943a1d93288 (diff) | |
download | cpython-d7ddd90308324340855ddb9cc8dda2c1ee3a5944.zip cpython-d7ddd90308324340855ddb9cc8dda2c1ee3a5944.tar.gz cpython-d7ddd90308324340855ddb9cc8dda2c1ee3a5944.tar.bz2 |
gh-115491: Fix Clang compiler warning (#116153)
gh-115491: Fix compiler warning on macOS
-rw-r--r-- | Objects/mimalloc/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/mimalloc/alloc.c b/Objects/mimalloc/alloc.c index b369a5e..e6286b5 100644 --- a/Objects/mimalloc/alloc.c +++ b/Objects/mimalloc/alloc.c @@ -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); |