Package: re / 0.1-6.1

fix-narrowing.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: re-0.1/src/ru32cp.c
===================================================================
--- re-0.1.orig/src/ru32cp.c
+++ re-0.1/src/ru32cp.c
@@ -80,7 +80,7 @@ Tcpi CPI[32] =
 ���������������� -f
 */
 
-char uni_dead [128] =
+unsigned char uni_dead [128] =
 {0x02,0x04,0x03,0x04,0x1A,0x20,0x53,0x04,0x1E,0x20,0x26,0x20,0x20,0x20,0x21,0x20
 ,0x88,0x00,0x30,0x20,0x09,0x04,0x39,0x20,0x0A,0x04,0x0C,0x04,0x0B,0x04,0x0F,0x04
 ,0x52,0x04,0x18,0x20,0x19,0x20,0x1C,0x20,0x1D,0x20,0x22,0x20,0x13,0x20,0x14,0x20
Index: re-0.1/src/ru32cp.h
===================================================================
--- re-0.1.orig/src/ru32cp.h
+++ re-0.1/src/ru32cp.h
@@ -10,7 +10,7 @@
 typedef char Tcpi[4][65];
 
 extern Tcpi CPI[];
-extern char uni_dead [];
+extern unsigned char uni_dead [];
 extern char CPILetter[];
 
 extern int  CPIcount,