BUILD: dumpstats: silencing warning for printf format specifier / time_t
time_t is not necesseraly a long int (spotted in OpenBSD), so just an explicit cast to
avoid the compiler warning. should be safe enough.
diff --git a/src/dumpstats.c b/src/dumpstats.c
index 3518e2a..2cfaded 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -2816,7 +2816,7 @@
"\n",
backend->uuid, backend->id,
srv->puid, srv->id, srv_addr,
- srv->state, srv->admin, srv->uweight, srv->iweight, srv_time_since_last_change,
+ srv->state, srv->admin, srv->uweight, srv->iweight, (long int)srv_time_since_last_change,
srv->check.status, srv->check.result, srv->check.health, srv->check.state, srv->agent.state,
bk_f_forced_id, srv_f_forced_id);