Skip to contentSkip to conversation

configure: Fix type error for ldap_parse_page_control

PATCH New Florian Weimer 1 participant 1 message Dec 18, 2023 Kernel automounter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Fix type error for ldap_parse_page_control

Fix argument type for ldap_parse_page_control in configure probe, to suppress an incompatible-pointer-types error.

aclocal.m4 +1 -1
index 1046d72b1560a8ea..8dad987224fe5094 100644
@@ -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) ])