more irix cc friendliness

This commit is contained in:
leitner
2002-09-07 11:49:19 +00:00
parent e57b1323f8
commit 99c24e2efe
5 changed files with 11 additions and 13 deletions

View File

@@ -5,7 +5,7 @@ int scan_ldapbindrequest(const char* src,const char* max,
unsigned long* version,struct string* name,
unsigned long* method) {
int res,tmp;
if (!(res=scan_asn1INTEGER(src,max,version))) return 0;
if (!(res=scan_asn1INTEGER(src,max,(signed long*)version))) return 0;
if (!(tmp=scan_ldapstring(src+res,max,name))) return 0;
res+=tmp;
{