summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2011-09-12 08:38:21 +0000
committeravg <avg@FreeBSD.org>2011-09-12 08:38:21 +0000
commit3174e1aa42c0aaec8c53ca03a7c0e4a5a579d33c (patch)
treeeddeee9472ec662e522021f403a8ad353d4b61a1
parent91ab853ec40e0f9737d7c63956e370770f19c462 (diff)
downloadFreeBSD-src-3174e1aa42c0aaec8c53ca03a7c0e4a5a579d33c.zip
FreeBSD-src-3174e1aa42c0aaec8c53ca03a7c0e4a5a579d33c.tar.gz
dsp_ioctl: fix type of variable used to store ioctl request
PR: kern/156433 Submitted by: Grigori Goronzy <greg@chown.ath.cx> Reviewed by: hselasky Approved by: re (kib) MFC after: 1 week
-rw-r--r--sys/dev/sound/pcm/dsp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sound/pcm/dsp.c b/sys/dev/sound/pcm/dsp.c
index 1d52cbe..2cfc170 100644
--- a/sys/dev/sound/pcm/dsp.c
+++ b/sys/dev/sound/pcm/dsp.c
@@ -1062,7 +1062,8 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd, caddr_t arg, int mode,
{
struct pcm_channel *chn, *rdch, *wrch;
struct snddev_info *d;
- int *arg_i, ret, tmp, xcmd;
+ u_long xcmd;
+ int *arg_i, ret, tmp;
d = dsp_get_info(i_dev);
if (!DSP_REGISTERED(d, i_dev))
OpenPOWER on IntegriCloud