mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
ucm: main - remove cast to pointer from integer of different size warning
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
00da3feace
commit
8883943995
1 changed files with 1 additions and 1 deletions
|
|
@ -507,7 +507,7 @@ static int execute_cset(snd_ctl_t *ctl, const char *cset, unsigned int type)
|
|||
free(value);
|
||||
if (info2) {
|
||||
if (info2->type == SND_CTL_ELEM_TYPE_ENUMERATED)
|
||||
free((void *)info2->value.enumerated.names_ptr);
|
||||
free((void *)(size_t)info2->value.enumerated.names_ptr);
|
||||
free(info2);
|
||||
}
|
||||
free(info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue