int -> unsigned int
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include "asn1.h"
|
||||
#include "ldap.h"
|
||||
|
||||
int scan_ldapava(const char* src,const char* max,struct AttributeValueAssertion* ava) {
|
||||
int res,tmp;
|
||||
unsigned int scan_ldapava(const char* src,const char* max,struct AttributeValueAssertion* ava) {
|
||||
unsigned int res,tmp;
|
||||
if (!(res=scan_ldapstring(src,max,&ava->desc))) goto error;
|
||||
if (!(tmp=scan_ldapstring(src+res,max,&ava->value))) goto error;
|
||||
return res+tmp;
|
||||
|
||||
Reference in New Issue
Block a user