remove warning (changed API from int to long)

master
leitner 21 years ago
parent 156ba1d275
commit 897e787b5e

@ -311,7 +311,7 @@ invalidpart:
stralloc_0(&yencpart); stralloc_0(&yencpart);
stralloc_ready(&out,yencpart.len); stralloc_ready(&out,yencpart.len);
for (i=0; i<yencpart.len; ) { for (i=0; i<yencpart.len; ) {
unsigned int x,scanned; unsigned long x,scanned;
x=scan_yenc(yencpart.s+i,out.s+out.len,&scanned); x=scan_yenc(yencpart.s+i,out.s+out.len,&scanned);
i+=x+1; out.len+=scanned; i+=x+1; out.len+=scanned;
} }
@ -322,7 +322,7 @@ invalidpart:
} else { } else {
out.len=0; out.len=0;
for (i=0; i<yencpart.len; ) { for (i=0; i<yencpart.len; ) {
unsigned int x,scanned; unsigned long x,scanned;
if (yencpart.s[i]=='.' && yencpart.s[i+1]=='.') ++i; if (yencpart.s[i]=='.' && yencpart.s[i+1]=='.') ++i;
x=scan_yenc(yencpart.s+i,out.s+out.len,&scanned); x=scan_yenc(yencpart.s+i,out.s+out.len,&scanned);
i+=x+1; out.len+=scanned; i+=x+1; out.len+=scanned;
@ -351,7 +351,7 @@ invalidpart:
state=BEFOREBEGIN; state=BEFOREBEGIN;
continue; continue;
} else { } else {
unsigned int scanned,x; unsigned long scanned,x;
char tmp[300]; char tmp[300];
switch (mode) { switch (mode) {
case MIME: case MIME:

Loading…
Cancel
Save