commit | ef008d2f8dc8f7160d8a3d24a15f2fad79ef3242 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Tue Mar 03 08:48:11 2015 +0100 |
committer | David Lamparter <equinox@opensourcerouting.org> | Sun Apr 19 20:40:19 2015 +0200 |
tree | 036d3b4c7bc0071f045bc1cb3a54c422dffc1806 | |
parent | ec62e1438ece9af0546f9028aa1403f2c84bf177 [diff] |
*: 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>