commit | 1b438a8228a415720efb5ca1c0503f5467292e8e | [log] [tgz] |
---|---|---|
author | zeertzjq <zeertzjq@outlook.com> | Wed Feb 01 13:11:15 2023 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Feb 01 13:11:15 2023 +0000 |
tree | c0594ccd7e5f15daebb599474a87d5cd394a2652 | |
parent | a7d36b732070944aab614944075ec0b409311482 [diff] [blame] |
patch 9.0.1271: using sizeof() and subtract array size is tricky Problem: Using sizeof() and subtract array size is tricky. Solution: Use offsetof() instead. (closes #11926)
diff --git a/src/version.c b/src/version.c index a79a9d0..68c47a3 100644 --- a/src/version.c +++ b/src/version.c
@@ -696,6 +696,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1271, +/**/ 1270, /**/ 1269,