From 425fcd3045708a6e8ce1c15c6950101d2523dd59 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Wed, 7 Sep 2011 16:18:56 +0200 Subject: [PATCH] Issue #12929: faulthandler now uses char* for arithmetic on pointers instead of void* --- Modules/faulthandler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/faulthandler.c b/Modules/faulthandler.c index b2ac83fb848..15d6863c7c2 100644 --- a/Modules/faulthandler.c +++ b/Modules/faulthandler.c @@ -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,