Signed-off-by: James Youngman <jay@gnu.org>
Signed-off-by: Karel Zak <kzak@redhat.com>
void
dooutput() {
- register int cc;
+ register ssize_t cc;
time_t tvec;
char obuf[BUFSIZ];
struct timeval tv;
break;
if (tflg) {
newtime = tv.tv_sec + (double) tv.tv_usec / 1000000;
- fprintf(stderr, "%f %i\n", newtime - oldtime, cc);
+ fprintf(stderr, "%f %zd\n", newtime - oldtime, cc);
oldtime = newtime;
}
wrt = write(1, obuf, cc);