mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0173: build fails with old compiler
Problem: Build fails with old compiler. Solution: Do not use anonymous unions. (John Marriott)
This commit is contained in:
@@ -2128,7 +2128,7 @@ set_argv_var(char **argv, int argc)
|
||||
{
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user