From 7d1c48661da68f4d776555e4281b61416bb17097 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Thu, 3 Jan 2002 11:30:57 +0000 Subject: [PATCH] (read_key_sequence): Fixed cast of submaps arg to bcopy. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 2c083217d6a..3dc879a4e4e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -8129,7 +8129,7 @@ read_key_sequence (keybuf, bufsize, prompt, dont_downcase_last, if (!NILP (orig_keymap)) submaps[nmaps++] = orig_keymap; - bcopy (maps, (void *) submaps + nmaps, + bcopy (maps, (void *) (submaps + nmaps), nminor * sizeof (submaps[0])); nmaps += nminor; -- 2.39.2