summaryrefslogtreecommitdiff
path: root/src/if_py_both.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-01-29 21:27:21 +0100
committerBram Moolenaar <Bram@vim.org>2020-01-29 21:27:21 +0100
commit0ff6aad393c4130818fb4f49137380f78d7cc882 (patch)
treee3a6207de8cae98003e0c30878a943fcde5888e8 /src/if_py_both.h
parent4549ece47cc8d6487d8e64ae37361fea87e3ad39 (diff)
downloadvim-git-0ff6aad393c4130818fb4f49137380f78d7cc882.tar.gz
patch 8.2.0173: build fails with old compilerv8.2.0173
Problem: Build fails with old compiler. Solution: Do not use anonymous unions. (John Marriott)
Diffstat (limited to 'src/if_py_both.h')
-rw-r--r--src/if_py_both.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h
index 3da87ccc3..c4d82e7f7 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -2628,7 +2628,7 @@ ListAssSlice(ListObject *self, Py_ssize_t first,
if (li)
lastaddedli = li->li_prev;
else
- lastaddedli = l->lv_last;
+ lastaddedli = l->lv_u.mat.lv_last;
numadded++;
}
clear_tv(&v);