https://github.com/python/cpython/commit/d7ddd90308324340855ddb9cc8dda2c1ee3a5944
commit: d7ddd90308324340855ddb9cc8dda2c1ee3a5944
branch: main
author: Sam Gross <[email protected]>
committer: DinoV <[email protected]>
date: 2024-02-29T16:02:44-08:00
summary:
gh-115491: Fix Clang compiler warning (#116153)
gh-115491: Fix compiler warning on macOS
files:
M Objects/mimalloc/alloc.c
diff --git a/Objects/mimalloc/alloc.c b/Objects/mimalloc/alloc.c
index b369a5ebcb23a7..e6286b54bedc14 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);
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]