p = q;
while (*p)
p++;
- if (_write(2,q,p-q) < 0)
+ if (_write(2,q,(int)(p-q)) < 0)
;
}
_exit(erno);
*p++ = (*b ? *b++ : FILL_CHAR);
assert(p <= buf+BUFSIZE);
}
- _wstrin(w,p-buf,buf,f);
+ _wstrin(w,(int)(p-buf),buf,f);
}
while (j /= 10);
if (i<0)
*--p = '-';
- _wstrin(w,&buf[SZ]-p,p,f);
+ _wstrin(w,(int)(&buf[SZ]-p),p,f);
}
_wri(i,f) int i; struct file *f; {
} while (j /= 10);
if (l<0)
*--p = '-';
- _wstrin(w,&buf[11]-p,p,f);
+ _wstrin(w,(int)(&buf[11]-p),p,f);
}
_wrl(l,f) long l; struct file *f; {
*p++ = '0' + (d/10) % 10;
*p++ = '0' + d%10;
}
- _wstrin(w,p-buf,buf,f);
+ _wstrin(w,(int)(p-buf),buf,f);
}
_wrr(r,f) double r; struct file *f; {
if (w < 0) _trp(EWIDTH);
for (p=s; *p; p++);
- _wss(w,p-s,s,f);
+ _wss(w,(int)(p-s),s,f);
}
_wrz(s,f) char *s; struct file *f; {
char *p;
for (p=s; *p; p++);
- _wrs(p-s,s,f);
+ _wrs((int)(p-s),s,f);
}