aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorAlexander Viro <viro@www.linux.org.uk>2004-07-15 22:03:05 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-07-15 22:03:05 -0700
commit901b656f724e92a9de185e8a736311ebc1888cda (patch)
treed9d1f9fcab2d65b71ff23259d86b58c0ed01889f /sound
parent9d0020afa6378c75d648d9791e678fa7510c303e (diff)
downloadhistory-901b656f724e92a9de185e8a736311ebc1888cda.tar.gz
[PATCH] ic31712: when storing a bitmask in pointer field, use unsigned long
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/ice1712/ice1724.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/ice1724.c b/sound/pci/ice1712/ice1724.c
index a7a55a98bac143..d36739ec977ee4 100644
--- a/sound/pci/ice1712/ice1724.c
+++ b/sound/pci/ice1712/ice1724.c
@@ -1071,7 +1071,7 @@ static int snd_vt1724_playback_indep_open(snd_pcm_substream_t *substream)
return -EBUSY; /* FIXME: should handle blocking mode properly */
}
up(&ice->open_mutex);
- runtime->private_data = (void*)(1 << (substream->number + 4));
+ runtime->private_data = (void*)(1UL << (substream->number + 4));
ice->playback_con_substream_ds[substream->number] = substream;
runtime->hw = snd_vt1724_2ch_stereo;
snd_pcm_set_sync(substream);