commit | 0ff6aad393c4130818fb4f49137380f78d7cc882 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jan 29 21:27:21 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jan 29 21:27:21 2020 +0100 |
tree | e3a6207de8cae98003e0c30878a943fcde5888e8 | |
parent | 4549ece47cc8d6487d8e64ae37361fea87e3ad39 [diff] [blame] |
patch 8.2.0173: build fails with old compiler Problem: Build fails with old compiler. Solution: Do not use anonymous unions. (John Marriott)
diff --git a/src/evalvars.c b/src/evalvars.c index cc4a70f..a576859 100644 --- a/src/evalvars.c +++ b/src/evalvars.c
@@ -2128,7 +2128,7 @@ { if (list_append_string(l, (char_u *)argv[i], -1) == FAIL) getout(1); - l->lv_last->li_tv.v_lock = VAR_FIXED; + l->lv_u.mat.lv_last->li_tv.v_lock = VAR_FIXED; } set_vim_var_list(VV_ARGV, l); }