diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-22 17:51:06 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-22 17:51:06 +0100 |
commit | b3005ce191d27fd2f234df4969d5b58fda9c1940 (patch) | |
tree | 9b58353dd5d5f5db8ca87597dcd67cec2c498cf5 /src/vim9.h | |
parent | 9b6344613eecfcf77c510d7b63fcc4b7b51aefbc (diff) |
patch 8.2.2390: Vim9: using positive offset is unexpectedv8.2.2390
Problem: Vim9: using positive offset is unexpected.
Solution: Use int8_T instead of char. (James McCoy)
Diffstat (limited to 'src/vim9.h')
-rw-r--r-- | src/vim9.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vim9.h b/src/vim9.h index e6c4087c61..8d4faa3d11 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -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 |