summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Straub <lukasstraub2@web.de>2022-04-05 16:43:30 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2022-04-05 21:59:41 +0200
commit4460b839b945aeb6eb861012dbe41b76974168f6 (patch)
treea31928611d96ca55d46d92529f71cdf23836f02c /tests
parent0210097879c0194477183b575867cf8c413a93ef (diff)
meta: fix compiler warning in date_type_parse()
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. Fixes: 0210097879 ("meta: time: use uint64_t instead of time_t") Signed-off-by: Lukas Straub <lukasstraub2@web.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions