[PATCH] configure: Fix type error for ldap_parse_page_control

Florian Weimer <[email protected]>
Newsgroups org.kernel.vger.autofs
Message-ID <[email protected]>
Fix argument type for ldap_parse_page_control in configure probe,
to suppress an incompatible-pointer-types error.

diff --git a/aclocal.m4 b/aclocal.m4
index 1046d72b1560a8ea..8dad987224fe5094 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -427,7 +427,7 @@ AC_LINK_IFELSE(
       struct berval *c;
       int ret;
       LDAPControl **clp;
-      ret = ldap_parse_page_control(ld,clp,ct,c); ]])],
+      ret = ldap_parse_page_control(ld,clp,ct,&c); ]])],
   [ af_have_ldap_parse_page_control=yes
     AC_MSG_RESULT(yes) ],
   [ AC_MSG_RESULT(no) ])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.