From 97603051707f7b4a8aac17e733fc8bbf20c933cf Mon Sep 17 00:00:00 2001 From: Vadim Zhestikov Date: Sun, 6 Jul 2025 11:30:38 -0700 Subject: [PATCH] Replaced constant by sizeof value. --- src/njs_flathsh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/njs_flathsh.h b/src/njs_flathsh.h index e15162d6..38a9c56e 100644 --- a/src/njs_flathsh.h +++ b/src/njs_flathsh.h @@ -72,7 +72,7 @@ struct njs_flathsh_query_s { #define njs_hash_elts(h) \ - ((njs_flathsh_elt_t *) ((char *) (h) + 16 /* njs_flathsh_descr_t size */)) + ((njs_flathsh_elt_t *) ((char *) (h) + sizeof(njs_flathsh_descr_t))) /* -- 2.47.3