# HG changeset patch # User Richard M. Stallman # Date 790238895 0 # Node ID 8859f1967e8f3e2041372a7f273207a00820cf44 # Parent 15d01ad9792842265b83badaa67c55c4ad1478f1 (kbd_buffer_store_event): Cast arg of bcopy. diff -r 15d01ad97928 -r 8859f1967e8f src/keyboard.c --- 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 {