Re: useless cast warning

Thomas Klausner <[email protected]> Sat, 18 Jul 2026 06:40:09 +0200
Newsgroups gmane.comp.lib.gnulib.bugs,gmane.emacs.devel
Message-ID <[email protected]>
On Fri, Jul 17, 2026 at 02:18:17PM +0100, Paul Eggert wrote:
> Thanks for reporting that. Collin's suggested fix[1] would provoke
> -Wdiscarded-qualifiers on some other platforms, so I instead installed the
> attached patch into Gnulib, and merged recent Gnulib changes into Emacs
> master. Thomas, please give it a try.

Thank you, your patch does remove the warnings on my system.
 Thomas