From: Kim F. Storm Date: Thu, 3 Jan 2002 11:30:57 +0000 (+0000) Subject: (read_key_sequence): Fixed cast of submaps arg to bcopy. X-Git-Tag: ttn-vms-21-2-B4~17344 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7d1c48661da68f4d776555e4281b61416bb17097;p=emacs.git (read_key_sequence): Fixed cast of submaps arg to bcopy. --- 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;