On Sunday 06 April 2008, James Youngman wrote: > @@ -338,7 +338,8 @@ dooutput() { > break; > if (tflg) { > newtime = tv.tv_sec + (double) tv.tv_usec / 1000000; > - fprintf(stderr, "%f %i\n", newtime - oldtime, cc); > + fprintf(stderr, "%f %lu\n", newtime - oldtime, > + (unsigned long)cc); > oldtime = newtime; > } > wrt = write(1, obuf, cc); casts suck. just use the right modifier (z) for size_t types. -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.