mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:05:41 +01:00
alsamixer: increase control device name buffer (sysdefault)
card_select.c:129:28: warning: ‘%d’ directive writing between 1 and 10 bytes into a region of size 5 [-Wformat-overflow=] 129 | sprintf(buf, "sysdefault:%d", number); Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
0369271aac
commit
71003a2acb
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ static int get_cards(void)
|
|||
int count, number, err;
|
||||
snd_ctl_t *ctl;
|
||||
snd_ctl_card_info_t *info;
|
||||
char buf[16];
|
||||
char buf[32];
|
||||
struct card *card, *prev_card;
|
||||
|
||||
first_card.indexstr = "-";
|
||||
|
|
Loading…
Reference in a new issue