diff options
Diffstat (limited to 'src/nxt_conf_validation.c')
-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); |