summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.c
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-08-15 16:36:00 +0300
committerValentin Bartenev <vbart@nginx.com>2017-08-15 16:36:00 +0300
commit2614758c0499ea36872127e2e1d985d58733fb8f (patch)
tree48c8c7cc4c3f7054a8b6c79b0725d3dc9d3edc82 /src/nxt_conf.c
parente2653f7ba5b8b97b03022b9a6e70e0196fb21c67 (diff)
downloadunit-2614758c0499ea36872127e2e1d985d58733fb8f.tar.gz
unit-2614758c0499ea36872127e2e1d985d58733fb8f.tar.bz2
Fixed building on ppc.
Diffstat (limited to 'src/nxt_conf.c')
-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;
}