From e3806b35a212fc846f3a3e4b61090d9e6196cc1d Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 19 Mar 2014 14:35:19 +0100 Subject: Fixed compilation warnings about pointer mismatch on 32bit --- ldap_match_sre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldap_match_sre.c') 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 -- cgit v1.2.3-55-g7522