diff --git a/m4/ax_check_catchable_segv.m4 b/m4/ax_check_catchable_segv.m4 index 5522297b..ec3ca4b6 100644 --- a/m4/ax_check_catchable_segv.m4 +++ b/m4/ax_check_catchable_segv.m4 @@ -18,7 +18,7 @@ AC_DEFUN([AX_CHECK_CATCHABLE_SEGV], [dnl #include static void sig(int _) { exit(0); } ]], [[ -volatile unsigned char * volatile x = malloc(8); +volatile unsigned char * volatile x = (volatile unsigned char *) malloc(8); size_t i; signal(SIGSEGV, sig);