Author: avg
Date: Mon Sep 12 08:38:21 2011
New Revision: 225505
URL: http://svn.freebsd.org/changeset/base/225505

Log:
  dsp_ioctl: fix type of variable used to store ioctl request
  
  PR:           kern/156433
  Submitted by: Grigori Goronzy <[email protected]>
  Reviewed by:  hselasky
  Approved by:  re (kib)
  MFC after:    1 week

Modified:
  head/sys/dev/sound/pcm/dsp.c

Modified: head/sys/dev/sound/pcm/dsp.c
==============================================================================
--- head/sys/dev/sound/pcm/dsp.c        Mon Sep 12 06:41:13 2011        
(r225504)
+++ head/sys/dev/sound/pcm/dsp.c        Mon Sep 12 08:38:21 2011        
(r225505)
@@ -1062,7 +1062,8 @@ dsp_ioctl(struct cdev *i_dev, u_long cmd
 {
        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))
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to