mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
Fix cast warning
int64_t and long long isn't strictly identical, and thus gcc gives us a heartful warning. Suppress the warning by a pointer cast. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
6d4c09346a
commit
fce17b8c47
1 changed files with 2 additions and 1 deletions
|
|
@ -217,7 +217,8 @@ static int snd_ctl_ext_elem_read(snd_ctl_t *handle, snd_ctl_elem_value_t *contro
|
|||
case SND_CTL_ELEM_TYPE_INTEGER64:
|
||||
if (! ext->callback->read_integer64)
|
||||
goto err;
|
||||
ret = ext->callback->read_integer64(ext, key, control->value.integer64.value);
|
||||
ret = ext->callback->read_integer64(ext, key,
|
||||
(int64_t*)control->value.integer64.value);
|
||||
break;
|
||||
case SND_CTL_ELEM_TYPE_ENUMERATED:
|
||||
if (! ext->callback->read_enumerated)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue