From f52e1de2933ce6ebbf968a4996e3ca57244a0c0b Mon Sep 17 00:00:00 2001 From: cohrs Date: Sun, 7 Dec 2003 20:20:59 +0000 Subject: [PATCH] OS2 bits Ronald Van Iwaarden wrote: ... lines 1845 and 1846 of cmd.c generate a 'value out of range warning' due to the compiler making 0x80 an integer rather than a character and '|'ing it with the argument. This requires a minor change to micro.h. [ Makefile.os2 rev does not currently make sense in the trunk. ] --- include/micro.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/micro.h b/include/micro.h index 7d5e90fd0..38cd73723 100644 --- a/include/micro.h +++ b/include/micro.h @@ -14,7 +14,7 @@ extern int ramdisk; #define C(c) (0x1f & (c)) #endif #ifndef M -#define M(c) (0x80 | (c)) +#define M(c) (((char)0x80) | (c)) #endif #define ABORT C('a')