From e2d24972a42093604f2786dbbbe7187ae80e69f8 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Wed, 9 Apr 2025 19:31:31 +0300 Subject: [PATCH] configure: fixed typo in check test Added mute of potential compiler warning --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d7376e64..2736395c 100644 --- a/configure.ac +++ b/configure.ac @@ -841,7 +841,7 @@ AC_CACHE_CHECK([whether the NULL pointer has all zero bits], #include #if defined(HAVE_STDDEF_H) #include -#elif define(HAVE_STDLIB_H) +#elif defined(HAVE_STDLIB_H) #include #else #include @@ -864,8 +864,8 @@ int main(void) if (0 != memcmp (&ptr1, &ptr2, sizeof(ptr1))) return 3; - ptr1 = &ptr1; - ptr2 = &ptr2; + ptr1 = (void*)&ptr1; + ptr2 = (void*)&ptr2; memset(&ptr1, 0, sizeof(ptr1)); memset(&ptr2, 0, sizeof(ptr2)); if (NULL != ptr1)