diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-09-06 17:13:18 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-09-06 17:13:18 +0300 |
commit | 37c16d180104cde7e74e99a6261f97e0727fd7c6 (patch) | |
tree | 1fd56d583115816023099bf5c9380c2a117c1370 /src | |
parent | 05f93d931bd9b00b1ec9bdb84fae1f5c57367063 (diff) | |
download | unit-37c16d180104cde7e74e99a6261f97e0727fd7c6.tar.gz unit-37c16d180104cde7e74e99a6261f97e0727fd7c6.tar.bz2 |
Fixed building by Sun C on Solaris.
Diffstat (limited to 'src')
-rw-r--r-- | src/nxt_conf_validation.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nxt_conf_validation.c b/src/nxt_conf_validation.c index de3d537c..c5180a20 100644 --- a/src/nxt_conf_validation.c +++ b/src/nxt_conf_validation.c @@ -359,7 +359,8 @@ nxt_conf_vldt_system(nxt_conf_value_t *conf, nxt_conf_value_t *value, nxt_conf_vldt_system_t vldt; char string[32]; - vldt = data; + /* The cast is required by Sun C. */ + vldt = (nxt_conf_vldt_system_t) data; nxt_conf_get_string(value, &name); |