diff options
author | Simon Rettberg | 2014-03-19 14:35:19 +0100 |
---|---|---|
committer | Simon Rettberg | 2014-03-19 14:35:19 +0100 |
commit | e3806b35a212fc846f3a3e4b61090d9e6196cc1d (patch) | |
tree | 3e65b810aa62557579a348e44b24e205bd057ba3 /scan_ldapsearchfilter.c | |
parent | Work (diff) | |
download | ldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.tar.gz ldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.tar.xz ldadp-e3806b35a212fc846f3a3e4b61090d9e6196cc1d.zip |
Fixed compilation warnings about pointer mismatch on 32bit
Diffstat (limited to 'scan_ldapsearchfilter.c')
-rw-r--r-- | scan_ldapsearchfilter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scan_ldapsearchfilter.c b/scan_ldapsearchfilter.c index 0ee2398..3c58df5 100644 --- a/scan_ldapsearchfilter.c +++ b/scan_ldapsearchfilter.c @@ -32,7 +32,8 @@ size_t scan_ldapsearchfilter(const char* src,const char* max,struct Filter** f) { enum asn1_tagclass tc; enum asn1_tagtype tt; - size_t tag,len,res,tmp; + size_t len,res,tmp; + unsigned long tag; const char* nmax; *f=0; if (!(res=scan_asn1tag(src,max,&tc,&tt,&tag))) goto error; |