diff -ur slang-pre2.3.0-110.orig/src/slang.h slang-pre2.3.0-110/src/slang.h
--- slang-pre2.3.0-110.orig/src/slang.h 2013-12-26 10:42:03.000000000 +0100
+++ slang-pre2.3.0-110/src/slang.h 2014-01-16 00:45:11.001003762 +0100
@@ -1652,14 +1652,14 @@
SL_EXTERN unsigned long SLtt_Num_Chars_Output;
SL_EXTERN int SLtt_Baud_Rate;
-typedef unsigned long SLtt_Char_Type;
+typedef unsigned long long SLtt_Char_Type;
-#define SLTT_BOLD_MASK 0x01000000UL
-#define SLTT_BLINK_MASK 0x02000000UL
-#define SLTT_ULINE_MASK 0x04000000UL
-#define SLTT_REV_MASK 0x08000000UL
-#define SLTT_ALTC_MASK 0x10000000UL
-#define SLTT_ITALIC_MASK 0x20000000UL
+#define SLTT_BOLD_MASK 0x0000000001000000ULL
+#define SLTT_BLINK_MASK 0x0000000002000000ULL
+#define SLTT_ULINE_MASK 0x0000000004000000ULL