mirror of https://github.com/python/cpython
Issue #12929: faulthandler now uses char* for arithmetic on pointers
instead of void*
This commit is contained in:
parent
ea0d5fcb4a
commit
425fcd3045
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue