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,9 +1,9 @@
#include "asn1.h"
int scan_asn1string(const char* src,const char* max,
unsigned int scan_asn1string(const char* src,const char* max,
enum asn1_tagclass* tc,enum asn1_tagtype* tt,unsigned long* tag,
const char** s,unsigned long* l) {
int len,tmp;
unsigned int len,tmp;
if (!(len=scan_asn1tag(src,max,tc,tt,tag))) return 0;
if (!(tmp=scan_asn1length(src+len,max,l))) return 0;
len+=tmp;