diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-03-04 20:47:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-03-04 20:47:39 +0000 |
commit | 5fb78c3fa5c996c08a65431d698bd2c251eef5c7 (patch) | |
tree | 859712525dc94a60f02b27c38d23fdf7f3e96590 /src/proto/charset.pro | |
parent | 5284b23e148063648be0ff46c730ca574e3ca9fa (diff) |
patch 9.0.1380: CTRL-X on 2**64 subtracts twov9.0.1380
Problem: CTRL-X on 2**64 subtracts two. (James McCoy)
Solution: Correct computation for large number. (closes #12103)
Diffstat (limited to 'src/proto/charset.pro')
-rw-r--r-- | src/proto/charset.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/charset.pro b/src/proto/charset.pro index 7e515be3b2..c915c5802f 100644 --- a/src/proto/charset.pro +++ b/src/proto/charset.pro @@ -64,7 +64,7 @@ char_u *skiptowhite_esc(char_u *p); long getdigits(char_u **pp); long getdigits_quoted(char_u **pp); int vim_isblankline(char_u *lbuf); -void vim_str2nr(char_u *start, int *prep, int *len, int what, varnumber_T *nptr, uvarnumber_T *unptr, int maxlen, int strict); +void vim_str2nr(char_u *start, int *prep, int *len, int what, varnumber_T *nptr, uvarnumber_T *unptr, int maxlen, int strict, int *overflow); int hex2nr(int c); int hexhex2nr(char_u *p); int rem_backslash(char_u *str); |