Re: [PATCH] meta.c: fix compiler warning in date_type_parse()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 05, 2022 at 04:43:30PM +0000, Lukas Straub wrote:
> After commit 0210097879 ("meta: time: use uint64_t instead of time_t")
> there is a compiler warning due to comparison of the return value from
> parse_iso_date with -1, which is now implicitly cast to uint64_t.
> 
> Fix this by making parse_iso_date take a pointer to the tstamp and
> return bool instead.

Applied, thanks



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux