aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/grid_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/grid_defs.h')
-rw-r--r--src/nvim/grid_defs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nvim/grid_defs.h b/src/nvim/grid_defs.h
index c65c273d57..390b2a848a 100644
--- a/src/nvim/grid_defs.h
+++ b/src/nvim/grid_defs.h
@@ -16,7 +16,9 @@
// otherwise it must be a UTF-8 string of length maximum 4 (no NUL when n=4)
typedef uint32_t schar_T;
-typedef int sattr_T;
+typedef int32_t sattr_T;
+// must be at least as big as the biggest of schar_T, sattr_T, col_T
+typedef int32_t sscratch_T;
enum {
kZIndexDefaultGrid = 0,