changeset 42499:e4c6344ca163

(read_key_sequence): Fixed cast of submaps arg to bcopy.
author Kim F. Storm <storm@cua.dk>
date Thu, 03 Jan 2002 11:30:57 +0000
parents 916462a1124e
children 9b68dff3d385
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;