Mercurial > vim
diff src/vim9.h @ 23697:19073a768852 v8.2.2390
patch 8.2.2390: Vim9: using positive offset is unexpected
Commit: https://github.com/vim/vim/commit/b3005ce191d27fd2f234df4969d5b58fda9c1940
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 22 17:51:06 2021 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 22 Jan 2021 18:00:05 +0100 |
parents | e3d77689d356 |
children | e3720756acdc |
line wrap: on
line diff
--- 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