summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorValentin Bartenev <vbart@nginx.com>2017-07-06 22:50:38 +0300
committerValentin Bartenev <vbart@nginx.com>2017-07-06 22:50:38 +0300
commit22d73057d93bc5f363a981763348612058077159 (patch)
tree7035594f769956bf3230ae8572724a53ea5530e7 /src
parentc56d2af3bcb10ca27b74c2fe123ea98dea07f0a0 (diff)
downloadunit-22d73057d93bc5f363a981763348612058077159.tar.gz
unit-22d73057d93bc5f363a981763348612058077159.tar.bz2
Fixed mapping of int32_t in nxt_conf_map_object().
Diffstat (limited to 'src')
-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 d162a80c..c091b260 100644
--- a/src/nxt_conf.c
+++ b/src/nxt_conf.c
@@ -339,7 +339,7 @@ nxt_conf_map_object(nxt_conf_value_t *value, nxt_conf_map_t *map, void *data)
switch (map[i].type) {
case NXT_CONF_MAP_INT32:
- ptr->ui8 = v->u.integer;
+ ptr->i32 = v->u.integer;
break;
case NXT_CONF_MAP_INT64: