diff options
| author | Andrew Clayton <ac@sigsegv.uk> | 2025-10-06 18:21:03 +0100 |
|---|---|---|
| committer | Andrew Clayton <ac@sigsegv.uk> | 2025-10-06 19:42:58 +0100 |
| commit | 041154a72f5a5d41c30a9bd6fb14d5bead913fe0 (patch) | |
| tree | 41319b7edd5a1cd1e5a3ee46cc7cf1daca7dfacc /src/test/nxt_utf8_file_name_test.c | |
| parent | 18d8e5422b6167c425018242a9b17cd3f6dfa640 (diff) | |
| download | unit-041154a72f5a5d41c30a9bd6fb14d5bead913fe0.tar.gz unit-041154a72f5a5d41c30a9bd6fb14d5bead913fe0.tar.bz2 | |
src/test: Fix compilation with GCC 15
Tag some missed character arrays with NXT_NONSTRING.
See commit d9c2fd793 ("Tag various character arrays with NXT_NONSTRING")
for details.
Signed-off-by: Andrew Clayton <ac@sigsegv.uk>
Diffstat (limited to '')
| -rw-r--r-- | src/test/nxt_utf8_file_name_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/nxt_utf8_file_name_test.c b/src/test/nxt_utf8_file_name_test.c index 5723e19b..b77cd4ab 100644 --- a/src/test/nxt_utf8_file_name_test.c +++ b/src/test/nxt_utf8_file_name_test.c @@ -48,7 +48,7 @@ nxt_utf8_file_name_test(nxt_thread_t *thr) nxt_file_t uc_file, lc_file; const u_char *pp; nxt_file_name_t uc_name[10], lc_name[10]; - static const u_char utf8[4] = "UTF8"; + static const u_char utf8[4] NXT_NONSTRING = "UTF8"; nxt_thread_time_update(thr); |
