]> git.alsa-project.org Git - alsa-lib.git/commit
conf, seq, ucm: fix discards const from pointer target
authorRudi Heitbaum <rudi@heitbaum.com>
Fri, 20 Feb 2026 11:31:02 +0000 (11:31 +0000)
committerJaroslav Kysela <perex@perex.cz>
Mon, 25 May 2026 09:26:15 +0000 (11:26 +0200)
commit6f074eefb117fc935bc8d6f26b7ae0223f971e21
treef196cf01ae4c754c2459d99601e980cd286ca261
parent03494abce2d9c7b09b2550d22cda5b9f5b0f64e6
conf, seq, ucm: 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-lib/pull/496
Signed-off-by: Rudi Heitbaum <rudi@heitbaum.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
src/conf.c
src/seq/seqmid.c
src/ucm/main.c
src/ucm/ucm_subs.c