- Fix -Wsign issue

- Bump up to WARNS=6
This commit is contained in:
Enji Cooper 2015-03-31 06:51:13 +00:00
parent b5d45f0794
commit b41853c8fe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=280895
2 changed files with 5 additions and 1 deletions

View File

@ -3,4 +3,8 @@
PROG= aio_kqueue
MAN=
WARNS?= 6
SUBDIR+= lio
.include <bsd.prog.mk>

View File

@ -177,7 +177,7 @@ main (int argc, char *argv[])
#endif
if (result != sizeof(buffer)) {
printf("FAIL: run %d, operation %d, result %d "
" (errno=%d) should be %d\n", run, pending,
" (errno=%d) should be %zu\n", run, pending,
result, errno, sizeof(buffer));
failed++;
} else