debuginfod/debuginfod-client.c: use long for cache time configurations
authorAlexander Kanavin <alex@linutronix.de>
Thu, 9 Dec 2021 09:51:23 +0000 (10:51 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 15 Dec 2021 23:49:52 +0000 (00:49 +0100)
commitd70b27cd02227d5b533f9da2c811bea08eddabde
tree750656dd046c1ce19976398d7d5e1c0463198dfb
parentdb862a11910a5d4c007c549c2b4ce4cad62f242b
debuginfod/debuginfod-client.c: use long for cache time configurations

time_t is platform dependent and some of architectures e.g.
x32, riscv32, arc use 64bit time_t even while they are 32bit
architectures, therefore directly using integer printf formats will not
work portably.

Use a plain long everywhere as the intervals are small enough
that it will not be problematic.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
debuginfod/ChangeLog
debuginfod/debuginfod-client.c