diff src/vim9.h @ 23695:e3d77689d356 v8.2.2389

patch 8.2.2389: test failure on a few systems Commit: https://github.com/vim/vim/commit/9b6344613eecfcf77c510d7b63fcc4b7b51aefbc Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 21 22:53:38 2021 +0100 patch 8.2.2389: test failure on a few systems Problem: Test failure on a few systems. Solution: Avoid that "char" value is negative.
author Bram Moolenaar <Bram@vim.org>
date Thu, 21 Jan 2021 23:00:05 +0100
parents 0d56d4f107d8
children 19073a768852
line wrap: on
line diff
--- a/src/vim9.h
+++ b/src/vim9.h
@@ -224,7 +224,7 @@ typedef struct {
 // arguments to ISN_CHECKTYPE
 typedef struct {
     type_T	*ct_type;
-    char	ct_off;		// offset in stack, -1 is bottom
+    char	ct_off;		// offset in stack (positive), 1 is bottom
     char	ct_arg_idx;	// argument index or zero
 } checktype_T;