Skip to content

Commit d04914a

Browse files
committed
Parenthesize macro to avoid precedence issues
1 parent dea4083 commit d04914a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/obmalloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ _PyMem_mi_page_is_safe_to_free(mi_page_t *page)
131131
// If we are deferring collection of more than this amount of memory for
132132
// mimalloc pages, advance the write sequence. Advancing allows these
133133
// pages to be re-used in a different thread or for a different size class.
134-
#define QSBR_PAGE_MEM_LIMIT 4096*20
134+
#define QSBR_PAGE_MEM_LIMIT (4096*20)
135135

136136
// Return true if the global write sequence should be advanced for a mimalloc
137137
// page that is deferred from collection.

0 commit comments

Comments
 (0)