Fixed building by Sun C on Solaris.

This commit is contained in:
Igor Sysoev
2017-09-06 17:13:18 +03:00
parent 05f93d931b
commit 37c16d1801

View File

@@ -359,7 +359,8 @@ nxt_conf_vldt_system(nxt_conf_value_t *conf, nxt_conf_value_t *value,
nxt_conf_vldt_system_t vldt; nxt_conf_vldt_system_t vldt;
char string[32]; 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); nxt_conf_get_string(value, &name);