Mercurial > emacs
diff src/keyboard.c @ 10433:8859f1967e8f
(kbd_buffer_store_event): Cast arg of bcopy.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 16 Jan 1995 06:48:15 +0000 |
parents | 62291e2d01df |
children | 2ab3bd0288a9 |
line wrap: on
line diff
--- a/src/keyboard.c Sun Jan 15 13:04:55 1995 +0000 +++ b/src/keyboard.c Mon Jan 16 06:48:15 1995 +0000 @@ -2080,7 +2080,7 @@ /* We must not use the ordinary copying code for this case, since `part' is an enum and copying it might not copy enough in this case. */ - bcopy (event, kbd_store_ptr, sizeof (*event)); + bcopy (event, (char *) kbd_store_ptr, sizeof (*event)); } else {