forked from aniani/vim
patch 7.4.1976
Problem: Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata)
This commit is contained in:
@@ -4179,7 +4179,7 @@ do_set(
|
||||
int afterchar; /* character just after option name */
|
||||
int len;
|
||||
int i;
|
||||
long value;
|
||||
varnumber_T value;
|
||||
int key;
|
||||
long_u flags; /* flags for current option */
|
||||
char_u *varp = NULL; /* pointer to variable for current option */
|
||||
@@ -9102,7 +9102,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