On Wed, Feb 25, 2026 at 12:07:03PM +0100, Alejandro Colomar wrote:
diff --git a/parse.c b/parse.c index 141947f4..c46a5811 100644 --- a/parse.c +++ b/parse.c[...]@@ -1001,7 +1001,8 @@ time_t mutt_parse_date (const char *s, HEADER *h) { struct tz_t *tz;- tz = bsearch (ptz, TimeZones, sizeof TimeZones/sizeof (struct tz_t), + tz = (struct tz_t *)bsearch (ptz, TimeZones, + sizeof TimeZones/sizeof (struct tz_t), sizeof (struct tz_t), (int (*)(const void *, const void *)) ascii_strcasecmp /* This is safe to do: A pointer to a struct equalsBut, why do we need to cast here?
Oh, for this one I'm not sure. It was in the patch Rene sent out initially, so I just included it. Rene, can you confirm the need for the cast?
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature
