]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_key_sequence): Fixed cast of submaps arg to bcopy.
authorKim F. Storm <storm@cua.dk>
Thu, 3 Jan 2002 11:30:57 +0000 (11:30 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 3 Jan 2002 11:30:57 +0000 (11:30 +0000)
src/keyboard.c

index 2c083217d6aaab14c17ae4cf9cfc7500f3abf685..3dc879a4e4ea8b6921ddc1aaf6f6961d3b780a2e 100644 (file)
@@ -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;