diff options
author | Olof Johansson <olof@lixom.net> | 2011-11-05 22:51:54 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-06 11:22:15 +0100 |
commit | 447c6f93aba42e6889be55a614d4dddc25f17863 (patch) | |
tree | 1c01135b128773dba25eb4c0b187bdada20d1eb4 /sound/i2c | |
parent | ALSA: ua101: fix crash when unplugging (diff) | |
download | linux-447c6f93aba42e6889be55a614d4dddc25f17863.tar.xz linux-447c6f93aba42e6889be55a614d4dddc25f17863.zip |
ALSA: control: remove compilation warning on 32-bit
This was introduced by 'ALSA: control: add support for ENUMERATED user
space controls' which adds a u64 variable that gets cast to a pointer:
sound/core/control.c: In function 'snd_ctl_elem_init_enum_names':
sound/core/control.c:1089: warning: cast to pointer from integer of different size
Cast to uintptr_t before casting to pointer to avoid the warning.
Signed-off-by: Olof Johansson <olof@lixom.net>
[cl: replace long with uintptr_t]
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions