From ea5c41b8056997ed40138020272b5159271f1b87 Mon Sep 17 00:00:00 2001 From: Andrew Clayton Date: Fri, 24 May 2024 15:48:45 +0100 Subject: wasm: Add a missing 'const' qualifier in nxt_wasm_setup() Signed-off-by: Andrew Clayton --- src/wasm/nxt_wasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wasm/nxt_wasm.c b/src/wasm/nxt_wasm.c index 92ed57ab..db79d6ae 100644 --- a/src/wasm/nxt_wasm.c +++ b/src/wasm/nxt_wasm.c @@ -246,7 +246,7 @@ nxt_wasm_setup(nxt_task_t *task, nxt_process_t *process, nxt_conf_value_t *dirs = NULL; nxt_wasm_app_conf_t *c; nxt_wasm_func_handler_t *fh; - static nxt_str_t filesystem_str = nxt_string("filesystem"); + static const nxt_str_t filesystem_str = nxt_string("filesystem"); c = &conf->u.wasm; -- cgit