diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-29 21:27:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-29 21:27:21 +0100 |
commit | 0ff6aad393c4130818fb4f49137380f78d7cc882 (patch) | |
tree | e3a6207de8cae98003e0c30878a943fcde5888e8 /src/if_py_both.h | |
parent | 4549ece47cc8d6487d8e64ae37361fea87e3ad39 (diff) |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if_py_both.h b/src/if_py_both.h index 3da87ccc36..c4d82e7f71 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); |