mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
vim-patch:7.4.1976
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
22fcfad292
This commit is contained in:
@@ -1144,7 +1144,7 @@ do_set (
|
||||
int afterchar; /* character just after option name */
|
||||
int len;
|
||||
int i;
|
||||
long value;
|
||||
varnumber_T value;
|
||||
int key;
|
||||
uint32_t flags; /* flags for current option */
|
||||
char_u *varp = NULL; /* pointer to variable for current option */
|
||||
@@ -4630,7 +4630,7 @@ get_option_value (
|
||||
if ((int *)varp == &curbuf->b_changed) {
|
||||
*numval = curbufIsChanged();
|
||||
} else {
|
||||
*numval = *(int *)varp;
|
||||
*numval = (long) *(varnumber_T *)varp;
|
||||
}
|
||||
}
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user