summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/matcd/audio.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-15 10:11:21 +0000
committerbde <bde@FreeBSD.org>1998-07-15 10:11:21 +0000
commitfab4cc71706ad7899d61db9d45d2a2605d897d49 (patch)
treea1ba964699bc34b45c71194077f97c19832fd12e /sys/i386/isa/matcd/audio.c
parent0d627f2ae9aa9721a1e35fa957f3c9862ed7dc1a (diff)
downloadFreeBSD-src-fab4cc71706ad7899d61db9d45d2a2605d897d49.zip
FreeBSD-src-fab4cc71706ad7899d61db9d45d2a2605d897d49.tar.gz
The ioctl request arg is unsigned log, so don't attempt to pass it
around as signed int. Fixed printf format error for ioctl request arg hidden in ifdefed code.
Diffstat (limited to 'sys/i386/isa/matcd/audio.c')
-rw-r--r--sys/i386/isa/matcd/audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/matcd/audio.c b/sys/i386/isa/matcd/audio.c
index b8cf6bf..a7891cb 100644
--- a/sys/i386/isa/matcd/audio.c
+++ b/sys/i386/isa/matcd/audio.c
@@ -274,7 +274,7 @@ static int matcd_stop(int ldrive, int cdrive, int controller)
-----------------------------------------------------------------------------*/
static int matcd_level(int ldrive, int cdrive, int controller,
- struct ioc_vol * level, int action)
+ struct ioc_vol * level, unsigned long action)
{
struct matcd_data *cd;
int i,z,port;
@@ -351,7 +351,7 @@ static int matcd_level(int ldrive, int cdrive, int controller,
-----------------------------------------------------------------------------*/
static int matcd_route(int ldrive, int cdrive, int controller,
- int command)
+ unsigned long command)
{
struct matcd_data *cd;
int i,port;
OpenPOWER on IntegriCloud