diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2015-03-03 08:48:11 +0100 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-05-29 21:08:04 -0400 |
| commit | 8f2c16aab0388ea624ea67cf9a025a662ed9a84b (patch) | |
| tree | f2cff306ac8fc7cbb31680ad25b6d1966ada24bb /lib/buffer.c | |
| parent | 1b91e000c6cb18016fcb596dd02da03bfd4c1638 (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>
(cherry picked from commit ef008d2f8dc8f7160d8a3d24a15f2fad79ef3242)
Diffstat (limited to 'lib/buffer.c')
0 files changed, 0 insertions, 0 deletions
