From 2614758c0499ea36872127e2e1d985d58733fb8f Mon Sep 17 00:00:00 2001 From: Valentin Bartenev Date: Tue, 15 Aug 2017 16:36:00 +0300 Subject: Fixed building on ppc. --- src/nxt_conf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit