summaryrefslogtreecommitdiff
path: root/libre-testing/vi/fix-tubesize-short-overflow.patch
blob: 46cc2af28b6a4d816c220c2e1c1c1d1fe571a7a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -upr ex-070224.orig/ex_vis.h ex-070224/ex_vis.h
--- ex-070224.orig/ex_vis.h	2005-08-06 14:41:15.000000000 +0300
+++ ex-070224/ex_vis.h	2015-05-02 20:41:13.938665281 +0300
@@ -104,7 +104,7 @@ var enum {
  */
 var	short	TUBELINES;
 var	short	TUBECOLS;
-var	short	TUBESIZE;
+var	int	TUBESIZE;
 
 /*
  * The screen in visual and crtopen is of varying size; the basic