From: Vadim Zhestikov Date: Sun, 6 Jul 2025 18:30:38 +0000 (-0700) Subject: Replaced constant by sizeof value. X-Git-Tag: 0.9.1~3 X-Git-Url: http://www.kaiwu.me/postgresql/commit/static/gitweb.js?a=commitdiff_plain;h=97603051707f7b4a8aac17e733fc8bbf20c933cf;p=njs.git Replaced constant by sizeof value. --- 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))) /*