mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-30 11:10:19 -04:00
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 <rudi@heitbaum.com>
This commit is contained in:
parent
a7ef4c9ea4
commit
757f3a86c9
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
int snd_seq_parse_address(snd_seq_t *seq, snd_seq_addr_t *addr, const char *arg)
|
||||||
{
|
{
|
||||||
char *p, *buf;
|
char *buf;
|
||||||
const char *s;
|
const char *p, *s;
|
||||||
char c;
|
char c;
|
||||||
long client, port = 0;
|
long client, port = 0;
|
||||||
int len;
|
int len;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue