HomeFreeBSD

sysutils/fsearch: try to unbreak the port's build on -CURRENT/i386:

Description

sysutils/fsearch: try to unbreak the port's build on -CURRENT/i386:

error: incompatible function pointer types passing 'bool (const
char *, time_t *, time_t *)' (aka 'bool (const char *, int *,
int *)') to parameter of type 'FsearchQueryIntegerParserFunc *'
(aka 'bool (*)(const char *, long long *, long long *)')

i386 is the only architecture with 32-bit `time_t' and I don't think
adding another `FsearchQueryTimeParserFunc' type just to circumvent
this [-Wincompatible-function-pointer-types] issue is warranted, or
even upstreamable, so simply pass those numbers as `int64_t' as this
does not affect internal time-related calculations.

Reported by: pkg-fallout

Details

Provenance
danfeAuthored on Jul 31 2023, 6:58 AM
Parents
R11:9fc9a5a93f79: devel/lazygit: Update to 0.39.4
Branches
Unknown
Tags
Unknown