mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-25 11:54:29 -04:00
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.
This commit is contained in:
parent
ce1ef4df01
commit
081b336f7d
1 changed files with 1 additions and 1 deletions
|
|
@ -2816,7 +2816,7 @@ static void dump_servers_state(struct proxy *backend, struct chunk *buf)
|
|||
"\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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue