On Wed, Feb 25, 2026 at 08:27:34PM +0800, Kevin J. McCarthy wrote:
The latest version of glibc changes string search functions, such as
strchr() and strrchr(), so that the return type is the same type as
the string passed in.

This helped us catch a real bug in browser.c (3a8dfafc), and also
turned up some variable type issues, fixed here.

Thanks to Rene Kita for the work on the Arch sr.ht build files which
turned up the bugs, and for an initial patch showing where the warning
were, which this commit is based upon.

Also thanks to Alejandro Colomar for quickly explaining what was going
on and helping debug the issues, and for the parse.c bsearch fix.
---
Rene, please double check the revised fix for parse.c bsearch()
eliminates the warning.  Thanks Rene and Alejandro!

Pushed.

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to