zu is a size_t, so maybe a cast would calm the dumb compilers down

This commit is contained in:
aiyion.prime 2017-01-30 19:21:20 +01:00
parent 5fa56e530d
commit e63e871d40

View file

@ -100,7 +100,7 @@ bool send_ping(connection_t *c) {
c->status.pinged = true;
c->last_ping_time = now;
return send_request(c, "%d %zu %ld", PING, c->last_ping_time.tv_sec, c->last_ping_time.tv_usec);
return send_request(c, "%d %zu %ld", PING, (size_t)c->last_ping_time.tv_sec, c->last_ping_time.tv_usec);
}
bool ping_h(connection_t *c, const char *request) {