From 757f3a86c95288ddab064fbaa018ea14b276766a Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Fri, 20 Feb 2026 11:31:51 +0000 Subject: [PATCH] seq: 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 Signed-off-by: Rudi Heitbaum --- src/seq/seqmid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seq/seqmid.c b/src/seq/seqmid.c index 280a27bd..2bf6afa0 100644 --- a/src/seq/seqmid.c +++ b/src/seq/seqmid.c @@ -424,8 +424,8 @@ int snd_seq_sync_output_queue(snd_seq_t *seq) */ int snd_seq_parse_address(snd_seq_t *seq, snd_seq_addr_t *addr, const char *arg) { - char *p, *buf; - const char *s; + char *buf; + const char *p, *s; char c; long client, port = 0; int len;