Make WARNS=6 clean, which should make it compiling on amd64.

Submitted by:	Matteo Riondato <rionda@gufi.org>
This commit is contained in:
Maxim Sobolev 2005-05-02 17:38:49 +00:00
parent 816e8c037d
commit ed9302fdd6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=145808
2 changed files with 4 additions and 4 deletions

View file

@ -6,6 +6,6 @@ MAN= mkuzip.8
DPADD= ${LIBZ}
LDADD= -lz
WARNS?= 4
WARNS?= 6
.include <bsd.prog.mk>

View file

@ -159,8 +159,8 @@ int main(int argc, char **argv)
lseek(fdw, offset, SEEK_SET);
if (verbose != 0)
fprintf(stderr, "data size %llu bytes, number of clusters "
"%u, index lengh %u bytes\n", sb.st_size,
fprintf(stderr, "data size %ju bytes, number of clusters "
"%u, index lengh %zu bytes\n", sb.st_size,
hdr.nblocks, iov[1].iov_len);
for(i = 0; i == 0 || ibuf != NULL; i++) {
@ -194,7 +194,7 @@ int main(int argc, char **argv)
close(fdr);
if (verbose != 0)
fprintf(stderr, "compressed data to %llu bytes, saved %lld "
fprintf(stderr, "compressed data to %ju bytes, saved %lld "
"bytes, %.2f%% decrease.\n", offset, (long long)(sb.st_size - offset),
100.0 * (long long)(sb.st_size - offset) / (float)sb.st_size);