summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_conf.c b/src/nxt_conf.c
index de9253d3..d205ca71 100644
--- a/src/nxt_conf.c
+++ b/src/nxt_conf.c
@@ -1892,7 +1892,7 @@ nxt_conf_json_integer_length(nxt_conf_value_t *value)
return sizeof("-9999") - 1;
}
- if (num <= 99999999999) {
+ if (num <= 99999999999LL) {
return sizeof("-99999999999") - 1;
}