From 569f49447b54f975fa5a4d231ee12c809ca83de2 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 16 Jan 1995 06:48:15 +0000 Subject: [PATCH] (kbd_buffer_store_event): Cast arg of bcopy. --- src/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keyboard.c b/src/keyboard.c index 520d88a3f94..8dde43e59b8 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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 { -- 2.39.5