Date: Wed, 18 Feb 2004 13:37:36 -0800 (PST) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/fetch fetch.c Message-ID: <200402182137.i1ILbaV0018961@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2004/02/18 13:37:36 PST
FreeBSD src repository
Modified files:
usr.bin/fetch fetch.c
Log:
Fix printf() format bug in previous commit (size_t != int).
Use %ju and an (uintmax_t) cast to print size_t values.
Use %jd and an (intmax_t) cast to print off_t values.
Use off_t variables to hold the difference between two off_t values.
Don't bother with unsigned char where char will do nicely.
Revision Changes Path
1.64 +19 -17 src/usr.bin/fetch/fetch.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402182137.i1ILbaV0018961>
