char should be unsigned in deaccent
authorDon Armstrong <don@donarmstrong.com>
Tue, 16 Jul 2019 04:21:38 +0000 (21:21 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 16 Jul 2019 04:21:38 +0000 (21:21 -0700)
debian/patches/deaccent_char_is_unsigned [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/deaccent_char_is_unsigned b/debian/patches/deaccent_char_is_unsigned
new file mode 100644 (file)
index 0000000..3662d3a
--- /dev/null
@@ -0,0 +1,9 @@
+--- a/src/deaccent.hh
++++ b/src/deaccent.hh
+@@ -1,5 +1,5 @@
+-static const char deaccent_lookup[256] = {
++static const unsigned char deaccent_lookup[256] = {
+ 0, 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, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 
+ 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 
index 2a1ddca..e07b681 100644 (file)
@@ -1,3 +1,4 @@
 remove_mys
 no-zips.diff
 move_sangs_to_insane
+deaccent_char_is_unsigned