]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ALSA] oxygen: use uintptr_t in pointer casts
authorClemens Ladisch <clemens@ladisch.de>
Fri, 4 Jan 2008 08:22:20 +0000 (09:22 +0100)
committerJaroslav Kysela <perex@perex.cz>
Thu, 31 Jan 2008 16:29:44 +0000 (17:29 +0100)
commit740eb8358f2bf337fd4ec62abb5b8cca7c652e5a
treefa3d6d2deedf7f58ca2436b5d4a2129f7cdf5d59
parent93521d274b7fb4e6da5772768683e4984783d9e7
[ALSA] oxygen: use uintptr_t in pointer casts

When we store the DMA channel number in the substream's private_data
pointer, use uintptr_t as an intermediate step when casting from/to
unsigned int to prevent the compiler from whining when the pointer size
is different.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/oxygen/oxygen_pcm.c