Kaydet (Commit) 425fcd30 authored tarafından Victor Stinner's avatar Victor Stinner

Issue #12929: faulthandler now uses char* for arithmetic on pointers

instead of void*
üst ea0d5fcb
......@@ -904,7 +904,7 @@ static PyObject *
faulthandler_stack_overflow(PyObject *self)
{
size_t depth, size;
void *sp = &depth, *stop;
char *sp = (char *)&depth, *stop;
depth = 0;
stop = stack_overflow(sp - STACK_OVERFLOW_MAX_SIZE,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment