summaryrefslogtreecommitdiff
path: root/user/free42/unsigned-char.patch
diff options
context:
space:
mode:
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 },