From 2864701f1b094a2e14ada0f166ad926caba020cc Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 23 Jun 2017 11:48:08 +0200 Subject: [PATCH] C++ compat --- m4/ax_check_catchable_segv.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);