summaryrefslogtreecommitdiffstats
path: root/ldap_match_sre.c
diff options
context:
space:
mode:
authorSimon Rettberg2014-03-19 14:35:19 +0100
committerSimon Rettberg2014-03-19 14:35:19 +0100
commite3806b35a212fc846f3a3e4b61090d9e6196cc1d (patch)
tree3e65b810aa62557579a348e44b24e205bd057ba3 /ldap_match_sre.c
parentWork (diff)
downloadldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.tar.gz
ldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.tar.xz
ldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.zip
Fixed compilation warnings about pointer mismatch on 32bit
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