# HG changeset patch # User Bram Moolenaar # Date 1635947104 -3600 # Node ID 945bdfc3c00fe38c1b9475f7e2ea4748101db536 # Parent 781b2d806215e943513730148880f30c1537e752 patch 8.2.3577: overflow check fails with 32 ints Commit: https://github.com/vim/vim/commit/0f0044125c2a5dcde2c4605efc39d2e237eed024 Author: Bram Moolenaar Date: Wed Nov 3 13:43:16 2021 +0000 patch 8.2.3577: overflow check fails with 32 ints Problem: Overflow check fails with 32 ints. Solution: Only test with 64 bit ints. diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim --- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -149,6 +149,10 @@ func Test_p_with_count_leaves_mark_at_en endfunc func Test_very_large_count() + if v:sizeofint != 8 + throw 'Skipped: only works with 64 bit ints' + endif + new let @" = 'x' call assert_fails('norm 44444444444444p', 'E1240:') diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3577, +/**/ 3576, /**/ 3575,