changeset 20492:fac0281a2c4e

configure: Fix static array check
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Mon, 04 Jul 2016 09:30:13 +0300
parents 3030547c9d94
children 4c77eadf2e9f
files configure.ac
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure.ac	Mon Jul 04 09:21:22 2016 +0300
+++ b/configure.ac	Mon Jul 04 09:30:13 2016 +0300
@@ -1009,7 +1009,7 @@
 
 AC_CACHE_CHECK([if we can use C99 static in array sizes],i_cv_c99_static_arrays,[
   AC_TRY_COMPILE([
-    void foo(int arr[static 20]);
+    void foo(unsigned char [static 20]);
   ], [
   ], [
     i_cv_c99_static_arrays=yes