about summary refs log tree commit diff stats
path: root/src/LYKeymap.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2005-01-02 23:49:58 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2005-01-02 23:49:58 -0500
commit1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f (patch)
treea83fd699321c8545516d56abcda6c9718fd1f4fb /src/LYKeymap.c
parentbed9a2c79bfdde6e4ec89d9d02a5d6e88ae12f79 (diff)
downloadlynx-snapshots-1fc1d8afcb5b9947e2b9665514dbfd1e86c0bf3f.tar.gz
snapshot of project "lynx", label v2-8-6dev_10
Diffstat (limited to 'src/LYKeymap.c')
-rw-r--r--src/LYKeymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/LYKeymap.c b/src/LYKeymap.c
index 3e81e27d..f794a828 100644
--- a/src/LYKeymap.c
+++ b/src/LYKeymap.c
@@ -1264,7 +1264,7 @@ static char *pretty_html(int c)
 
 static char *format_binding(LYKeymap_t * table, int i)
 {
-    LYKeymap_t the_key = table[i];
+    LYKeymapCode the_key = (LYKeymapCode) table[i];
     char *buf = 0;
     char *formatted;
     Kcmd *rmap = LYKeycodeToKcmd(the_key);
@@ -1292,7 +1292,7 @@ static void print_binding(HTStream *target, int i,
 
 #if defined(DIRED_SUPPORT) && defined(OK_OVERRIDE)
     if (prev_lynx_edit_mode && !no_dired_support &&
-	(lac1 = key_override[i]) != LYK_UNKNOWN) {
+	(lac1 = (LYKeymapCode) key_override[i]) != LYK_UNKNOWN) {
 	if ((buf = format_binding(key_override, i)) != 0) {
 	    PUTS(buf);
 	    FREE(buf);
@@ -1300,7 +1300,7 @@ static void print_binding(HTStream *target, int i,
     } else
 #endif /* DIRED_SUPPORT && OK_OVERRIDE */
     if ((buf = format_binding(keymap, i)) != 0) {
-	lac1 = keymap[i];
+	lac1 = (LYKeymapCode) keymap[i];
 	PUTS(buf);
 	FREE(buf);
     }