summaryrefslogtreecommitdiffstats
path: root/ldap_match_sre.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldap_match_sre.c')
-rw-r--r--ldap_match_sre.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldap_match_sre.c b/ldap_match_sre.c
index b0e69c1..e98d2fc 100644
--- a/ldap_match_sre.c
+++ b/ldap_match_sre.c
@@ -45,7 +45,7 @@ static int ldap_match_present_sre(struct SearchResultEntry* sre,struct string* s
}
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