From d16fdde7e16c8c6a2133a2385b83ce0955e576b1 Mon Sep 17 00:00:00 2001 From: rodrigc Date: Sun, 26 Jul 2015 14:46:42 +0000 Subject: Pass unsigned long argument to ioctl(). Eliminates "ioctl sign-extension" warnings. PR: 200896 --- tests/sys/fifo/fifo_misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/sys/fifo/fifo_misc.c b/tests/sys/fifo/fifo_misc.c index 888547e..2c834b1 100644 --- a/tests/sys/fifo/fifo_misc.c +++ b/tests/sys/fifo/fifo_misc.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -149,7 +150,7 @@ test_truncate(void) } static int -test_ioctl_setclearflag(int fd, int flag, const char *testname, +test_ioctl_setclearflag(int fd, unsigned long flag, const char *testname, const char *fdname, const char *flagname) { int i; -- cgit v1.1