summaryrefslogtreecommitdiffhomepage
path: root/src/test/nxt_http_parse_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/nxt_http_parse_test.c')
-rw-r--r--src/test/nxt_http_parse_test.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/nxt_http_parse_test.c b/src/test/nxt_http_parse_test.c
index 3da10766..3b924614 100644
--- a/src/test/nxt_http_parse_test.c
+++ b/src/test/nxt_http_parse_test.c
@@ -712,8 +712,9 @@ nxt_http_parse_test_request_line(nxt_http_request_parse_t *rp,
if (nxt_memcmp(rp->version.str, test->version, 8) != 0) {
nxt_log_alert(log, "http parse test case failed:\n"
" - request:\n\"%V\"\n"
- " - version: \"%*s\" (expected: \"%*s\")",
- request, 8, rp->version.str, 8, test->version);
+ " - version: \"%*s\" (expected: \"%*s\")", request,
+ (size_t) 8, rp->version.str,
+ (size_t) 8, test->version);
return NXT_ERROR;
}