mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-09-16 15:17:41 -04:00
Fix glibc-2.43 constness warnings
Glibc 2.43 added C23 const-preserving overloads to various string functions, which change the return type depending on the constness of the argument(s). Currently this leads to warnings from calls to strtok() or strchr(). Fix this by properly declaring the respective variable types. Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f