aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_hwdep.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2007-07-31 05:08:10 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 09:58:16 -0400
commit312d045c75fc76e7de51520c3c1b6b5bec565cc9 (patch)
tree9d121ee86379f0e37c048bcab15484718c018758 /sound/pci/hda/hda_hwdep.c
parent625dc0bf4d91d379e8b4d5c3c9e05ad6fa978c51 (diff)
[ALSA] hda-intel - Fix compile warning in snd_hwdep_ioctl_compat()
Fix missing cast: sound/pci/hda/hda_hwdep.c:86: warning: passing argument 4 of 'hda_hwdep_ioctl' makes integer from pointer without a cast Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/hda/hda_hwdep.c')
-rw-r--r--sound/pci/hda/hda_hwdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_hwdep.c b/sound/pci/hda/hda_hwdep.c
index 64be7b533488..bafb7b01f5a1 100644
--- a/sound/pci/hda/hda_hwdep.c
+++ b/sound/pci/hda/hda_hwdep.c
@@ -83,7 +83,7 @@ static int hda_hwdep_ioctl(struct snd_hwdep *hw, struct file *file,
83static int hda_hwdep_ioctl_compat(struct snd_hwdep *hw, struct file *file, 83static int hda_hwdep_ioctl_compat(struct snd_hwdep *hw, struct file *file,
84 unsigned int cmd, unsigned long arg) 84 unsigned int cmd, unsigned long arg)
85{ 85{
86 return hda_hwdep_ioctl(hw, file, cmd, compat_ptr(arg)); 86 return hda_hwdep_ioctl(hw, file, cmd, (unsigned long)compat_ptr(arg));
87} 87}
88#endif 88#endif
89 89