]> git.proxmox.com Git - mirror_frr.git/commit - ospf6d/ospf6_spf.c
*: use long long to print time_t
authorDavid Lamparter <equinox@opensourcerouting.org>
Tue, 3 Mar 2015 07:48:11 +0000 (08:48 +0100)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 30 May 2016 01:08:04 +0000 (21:08 -0400)
commit8f2c16aab0388ea624ea67cf9a025a662ed9a84b
treef2cff306ac8fc7cbb31680ad25b6d1966ada24bb
parent1b91e000c6cb18016fcb596dd02da03bfd4c1638
*: use long long to print time_t

Since we can't assume time_t to be long, int, or even long long, this
consistently uses %lld/long long (or %llu/unsigned long long in a few
cases) to print time_t/susecond_t values.  This should fix a bunch of
warnings, on NetBSD in particular.

(Unfortunately, there seems to be no "PRId64" style printing macro for
time_t...)

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit ef008d2f8dc8f7160d8a3d24a15f2fad79ef3242)
bgpd/bgp_damp.c
isisd/isis_adjacency.c
isisd/isis_spf.c
isisd/isisd.c
ospf6d/ospf6_spf.c
ospf6d/ospf6_top.c
ospf6d/ospf6d.h
ospfd/ospf_ase.c
ospfd/ospf_dump.c
watchquagga/watchquagga.c