From da6a0d2507cf21f0497f3f85a8c67a1cd5391450 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Mon, 24 Jul 2023 11:19:51 +0200 Subject: net/tinyldap: fix build on 32bit --- net/tinyldap/files/patch-ldap_match_sre.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 net/tinyldap/files/patch-ldap_match_sre.c (limited to 'net/tinyldap/files/patch-ldap_match_sre.c') diff --git a/net/tinyldap/files/patch-ldap_match_sre.c b/net/tinyldap/files/patch-ldap_match_sre.c new file mode 100644 index 000000000000..f6074d4c545b --- /dev/null +++ b/net/tinyldap/files/patch-ldap_match_sre.c @@ -0,0 +1,11 @@ +--- ldap_match_sre.c.orig 2007-06-28 22:17:33 UTC ++++ ldap_match_sre.c +@@ -45,7 +45,7 @@ static int ldap_match_present_sre(struct SearchResultE + } + + static int substrmatch(struct Substring* x,struct string* s,int ignorecase) { +- int (*diff)(const void* a, unsigned long len, const void* b); ++ int (*diff)(const void* a, size_t len, const void* b); + if (ignorecase) + diff=case_diffb; + else -- cgit v1.2.3