From owner-svn-src-head@freebsd.org Sun Jul 26 14:46:43 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C6AD9ABF15; Sun, 26 Jul 2015 14:46:43 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CE541E3; Sun, 26 Jul 2015 14:46:43 +0000 (UTC) (envelope-from rodrigc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6QEkhPR083194; Sun, 26 Jul 2015 14:46:43 GMT (envelope-from rodrigc@FreeBSD.org) Received: (from rodrigc@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6QEkhTM083193; Sun, 26 Jul 2015 14:46:43 GMT (envelope-from rodrigc@FreeBSD.org) Message-Id: <201507261446.t6QEkhTM083193@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigc set sender to rodrigc@FreeBSD.org using -f From: Craig Rodrigues Date: Sun, 26 Jul 2015 14:46:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285891 - head/tests/sys/fifo X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2015 14:46:43 -0000 Author: rodrigc Date: Sun Jul 26 14:46:42 2015 New Revision: 285891 URL: https://svnweb.freebsd.org/changeset/base/285891 Log: Pass unsigned long argument to ioctl(). Eliminates "ioctl sign-extension" warnings. PR: 200896 Modified: head/tests/sys/fifo/fifo_misc.c Modified: head/tests/sys/fifo/fifo_misc.c ============================================================================== --- head/tests/sys/fifo/fifo_misc.c Sun Jul 26 11:21:36 2015 (r285890) +++ head/tests/sys/fifo/fifo_misc.c Sun Jul 26 14:46:42 2015 (r285891) @@ -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;