summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_upstream_round_robin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_upstream_round_robin.c')
-rw-r--r--src/nxt_upstream_round_robin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_upstream_round_robin.c b/src/nxt_upstream_round_robin.c
index 089f22b1..09a3bce3 100644
--- a/src/nxt_upstream_round_robin.c
+++ b/src/nxt_upstream_round_robin.c
@@ -99,7 +99,7 @@ nxt_upstream_round_robin_create(nxt_task_t *task, void *obj, void *data)
nxt_sockaddr_text(sa);
nxt_debug(task, "upstream peer: %*s",
- sa->length, nxt_sockaddr_start(sa));
+ (size_t) sa->length, nxt_sockaddr_start(sa));
/* TODO: memcpy to shared memory pool. */
peer[i].sockaddr = sa;