int -> unsigned int

This commit is contained in:
leitner
2005-07-08 20:50:53 +00:00
parent 7b412d42e4
commit 86bcdeb915
19 changed files with 37 additions and 33 deletions

View File

@@ -1,10 +1,10 @@
#include "asn1.h"
#include "ldap.h"
int scan_ldapresult(const char* src,const char* max,long* result,
unsigned int scan_ldapresult(const char* src,const char* max,long* result,
struct string* matcheddn,struct string* errormessage,
struct string* referral) {
int res,tmp;
unsigned int res,tmp;
if (!(res=scan_asn1ENUMERATED(src,max,result))) return 0;
if (!(tmp=scan_ldapstring(src+res,max,matcheddn))) return 0;
res+=tmp;