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) ])