From 67c64a99fb78f48c3deacc7d89e73de72522806b Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Wed, 24 Jan 2018 15:16:32 +0300 Subject: Using size_t for the field width type of the "%*s" specifier. --- src/nxt_conn_accept.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nxt_conn_accept.c') diff --git a/src/nxt_conn_accept.c b/src/nxt_conn_accept.c index f2a50301..80b599b4 100644 --- a/src/nxt_conn_accept.c +++ b/src/nxt_conn_accept.c @@ -189,7 +189,8 @@ nxt_conn_accept(nxt_task_t *task, nxt_listen_event_t *lev, nxt_conn_t *c) nxt_sockaddr_text(c->remote); nxt_debug(task, "client: %*s", - c->remote->address_length, nxt_sockaddr_address(c->remote)); + (size_t) c->remote->address_length, + nxt_sockaddr_address(c->remote)); nxt_queue_insert_head(&task->thread->engine->idle_connections, &c->link); -- cgit