]> git.eshelyaron.com Git - emacs.git/commitdiff
(kbd_buffer_store_event): Cast arg of bcopy.
authorRichard M. Stallman <rms@gnu.org>
Mon, 16 Jan 1995 06:48:15 +0000 (06:48 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 16 Jan 1995 06:48:15 +0000 (06:48 +0000)
src/keyboard.c

index 520d88a3f9492dd5328e8b1c4ba0e9d388c059cf..8dde43e59b8a2cc1f6f195b7e43ac603e12baf9e 100644 (file)
@@ -2080,7 +2080,7 @@ kbd_buffer_store_event (event)
          /* 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
        {