# HG changeset patch # User Kim F. Storm # Date 1010057457 0 # Node ID e4c6344ca1631272a2f9ac9235812b13f2308ab1 # Parent 916462a1124ef4a258141768664552c0c46fb9d2 (read_key_sequence): Fixed cast of submaps arg to bcopy. diff -r 916462a1124e -r e4c6344ca163 src/keyboard.c --- a/src/keyboard.c Thu Jan 03 11:30:13 2002 +0000 +++ b/src/keyboard.c Thu Jan 03 11:30:57 2002 +0000 @@ -8129,7 +8129,7 @@ if (!NILP (orig_keymap)) submaps[nmaps++] = orig_keymap; - bcopy (maps, (void *) submaps + nmaps, + bcopy (maps, (void *) (submaps + nmaps), nminor * sizeof (submaps[0])); nmaps += nminor;