]> git.alsa-project.org Git - alsa-utils.git/commit
aplay, alsactl, topology: fix discards const from pointer target
authorRudi Heitbaum <rudi@heitbaum.com>
Fri, 20 Feb 2026 11:10:24 +0000 (11:10 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2026 09:30:25 +0000 (11:30 +0200)
commite73462beafc31dd0ac010467de8e53e2f66ad1d4
treef6053ebf17565a71d213e1b98299172174696e03
parenta886daa31362a0ba7b46344d92fccdb795ca723c
aplay, alsactl, topology: fix discards const from pointer target

Since glibc-2.43:

For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,
strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return pointers
into their input arrays now have definitions as macros that return a
pointer to a const-qualified type when the input argument is a pointer
to a const-qualified type.

https://lists.gnu.org/archive/html/info-gnu/2026-01/msg00005.html

Closes: https://github.com/alsa-project/alsa-utils/pull/322
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/init_parse.c
aplay/aplay.c
topology/pre-process-dapm.c
topology/pre-process-object.c