We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ded8366 commit 8662728Copy full SHA for 8662728
Python/qsbr.c
@@ -93,7 +93,7 @@ grow_thread_array(struct _qsbr_shared *shared)
93
if (raw == NULL) {
94
return -1;
95
}
96
- struct _qsbr_pad *array = (struct _qsbr_pad *)(((uintptr_t)raw + 63) & ~(uintptr_t)63);
+ struct _qsbr_pad *array = _Py_ALIGN_UP(raw, 64);
97
98
void *old_raw = shared->array_raw;
99
if (shared->array != NULL) {
0 commit comments