diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/nxt_utf8_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/nxt_utf8_test.c b/src/test/nxt_utf8_test.c index 7a6dcd33..bca9a737 100644 --- a/src/test/nxt_utf8_test.c +++ b/src/test/nxt_utf8_test.c @@ -178,8 +178,8 @@ nxt_utf8_test(nxt_thread_t *thr) n = nxt_utf8_casecmp((u_char *) "ABC АБВ ΑΒΓ", (u_char *) "abc абв αβγ", - sizeof("ABC АБВ ΑΒΓ") - 1, - sizeof("abc абв αβγ") - 1); + nxt_length("ABC АБВ ΑΒΓ"), + nxt_length("abc абв αβγ")); if (n != 0) { nxt_log_alert(thr->log, "nxt_utf8_casecmp() failed"); |