diff --git a/env.c b/env.c index e7b270324..7466fa890 100644 --- a/env.c +++ b/env.c @@ -104,7 +104,7 @@ typedef struct env_node typedef struct var_entry { int export; /**< Whether the variable should be exported */ - wchar_t val[0]; /**< The value of the variable */ + wchar_t val[1]; /**< The value of the variable */ } var_entry_t;