]> git.baikalelectronics.ru Git - kernel.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)
commitf1cf496e9e02e3b71ec6bce9145158f0c73c1b93
treefa3d6d2deedf7f58ca2436b5d4a2129f7cdf5d59
parent2e116fec2b838a2150eba8cca6c67923a71b5c57
[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