diff options
author | James McCoy <jamessan@jamessan.com> | 2021-10-05 19:44:04 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-05 19:44:04 +0100 |
commit | 2e258bd79f403bcccb1336bea70803957a83808f (patch) | |
tree | d138257f739a37e973e3cba2e5f50288a66bee34 /src/structs.h | |
parent | 949de97da32d4fff28c569387e2ba8b3e311e64d (diff) | |
download | vim-git-2e258bd79f403bcccb1336bea70803957a83808f.tar.gz |
patch 8.2.3481: failures when char is unsignedv8.2.3481
Problem: Failures when char is unsigned.
Solution: Use int8_T. Make a CI run with unsigned char. (James McCoy,
closes #8936)
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/structs.h b/src/structs.h index b5889b776..0715686f7 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1406,8 +1406,8 @@ typedef struct type_S type_T; struct type_S { vartype_T tt_type; int8_T tt_argcount; // for func, incl. vararg, -1 for unknown - char tt_min_argcount; // number of non-optional arguments - char tt_flags; // TTFLAG_ values + int8_T tt_min_argcount; // number of non-optional arguments + char_u tt_flags; // TTFLAG_ values type_T *tt_member; // for list, dict, func return type type_T **tt_args; // func argument types, allocated }; |