summaryrefslogtreecommitdiff
path: root/user/free42/unsigned-char.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-17 23:10:12 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-04-17 23:10:12 +0000
commit24629e3a525a5e9af9a59fd3734abee0b7b9f115 (patch)
tree330edd809b786820341c3d3bfe86147d28eb97ce /user/free42/unsigned-char.patch
parent0bb280b4b7d115e5288eecabeb78543a6e43d171 (diff)
downloadpackages-24629e3a525a5e9af9a59fd3734abee0b7b9f115.tar.gz
packages-24629e3a525a5e9af9a59fd3734abee0b7b9f115.tar.bz2
packages-24629e3a525a5e9af9a59fd3734abee0b7b9f115.tar.xz
packages-24629e3a525a5e9af9a59fd3734abee0b7b9f115.zip
user/free42: fix build on signed char platforms (x86*), HTTPS
Diffstat (limited to 'user/free42/unsigned-char.patch')
-rw-r--r--user/free42/unsigned-char.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/free42/unsigned-char.patch b/user/free42/unsigned-char.patch
new file mode 100644
index 000000000..af3f47ef5
--- /dev/null
+++ b/user/free42/unsigned-char.patch
@@ -0,0 +1,15 @@
+This only breaks on platforms where 'char' is signed.
+
+(currently, pmmx and x86_64)
+
+--- free42/common/core_display.cc.old 2019-01-13 14:52:39.000000000 +0000
++++ free42/common/core_display.cc 2019-04-17 23:01:56.398695993 +0000
+@@ -43,7 +43,7 @@
+ #endif
+
+
+-static char bigchars[130][5] =
++static unsigned char bigchars[130][5] =
+ {
+ { 0x08, 0x08, 0x2a, 0x08, 0x08 },
+ { 0x22, 0x14, 0x08, 0x14, 0x22 },