From 1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Sun, 2 Jan 2005 23:49:58 -0500 Subject: snapshot of project "lynx", label v2-8-6dev_10 --- src/LYEditmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/LYEditmap.c') diff --git a/src/LYEditmap.c b/src/LYEditmap.c index 2b30e1c7..cf8c3ec8 100644 --- a/src/LYEditmap.c +++ b/src/LYEditmap.c @@ -19,9 +19,9 @@ /* Get (lynxkeycode+modifier -> lynxeditactioncode) mapping, intermediate. */ -#define LKC_TO_LEC_M1(c) ((c)>LAST_MOD1_LKC? LYE_UNMOD: Mod1Binding[c]) -#define LKC_TO_LEC_M2(c) ((c)>LAST_MOD2_LKC? LYE_UNMOD: Mod2Binding[c]) -#define LKC_TO_LEC_M3(c) ((c)>LAST_MOD3_LKC? LYE_UNMOD: Mod3Binding[c]) +#define LKC_TO_LEC_M1(c) ((c)>LAST_MOD1_LKC? (int)LYE_UNMOD: Mod1Binding[c]) +#define LKC_TO_LEC_M2(c) ((c)>LAST_MOD2_LKC? (int)LYE_UNMOD: Mod2Binding[c]) +#define LKC_TO_LEC_M3(c) ((c)>LAST_MOD3_LKC? (int)LYE_UNMOD: Mod3Binding[c]) #endif /* EXP_ALT_BINDINGS */ -- cgit 1.4.1-2-gfad0