From 24629e3a525a5e9af9a59fd3734abee0b7b9f115 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Wed, 17 Apr 2019 23:10:12 +0000 Subject: user/free42: fix build on signed char platforms (x86*), HTTPS --- user/free42/unsigned-char.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 user/free42/unsigned-char.patch (limited to 'user/free42/unsigned-char.patch') 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 }, -- cgit v1.2.3-70-g09d2