aboutsummaryrefslogtreecommitdiff
path: root/src/njs_number.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/njs_number.c')
-rw-r--r--src/njs_number.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/njs_number.c b/src/njs_number.c
index 29df50a5..15f08651 100644
--- a/src/njs_number.c
+++ b/src/njs_number.c
@@ -35,7 +35,7 @@ njs_key_to_index(const njs_value_t *value)
array = njs_array(value);
- if (njs_lvlhsh_is_empty(&array->object.hash)) {
+ if (njs_flathsh_is_empty(&array->object.hash)) {
if (array->length == 0) {
/* An empty array value is zero. */