8000
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 8bd8f22 commit 12032dfCopy full SHA for 12032df
Python/pystate.c
@@ -580,7 +580,7 @@ alloc_interpreter(void)
580
}
581
PyInterpreterState *interp = _Py_ALIGN_UP(mem, alignment);
582
assert(_Py_IS_ALIGNED(interp, alignment));
583
- interp->_malloced = (uintptr_t)mem;
+ interp->_malloced = mem;
584
return interp;
585
586
@@ -596,7 +596,7 @@ free_interpreter(PyInterpreterState *interp)
596
interp->obmalloc = NULL;
597
598
assert(_Py_IS_ALIGNED(interp, _Alignof(PyInterpreterState)));
599
- PyMem_RawFree((void *)interp->_malloced);
+ PyMem_RawFree(interp->_malloced);
600
601
602
0 commit comments