0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.2390: Vim9: using positive offset is unexpected

Problem:    Vim9: using positive offset is unexpected.
Solution:   Use int8_T instead of char. (James McCoy)
This commit is contained in:
Bram Moolenaar
2021-01-22 17:51:06 +01:00
parent 9b6344613e
commit b3005ce191
4 changed files with 9 additions and 9 deletions

View File

@@ -224,8 +224,8 @@ typedef struct {
// arguments to ISN_CHECKTYPE
typedef struct {
type_T *ct_type;
char ct_off; // offset in stack (positive), 1 is bottom
char ct_arg_idx; // argument index or zero
int8_T ct_off; // offset in stack, -1 is bottom
int8_T ct_arg_idx; // argument index or zero
} checktype_T;
// arguments to ISN_STORENR