Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
10432:15d01ad97928 | 10433:8859f1967e8f |
---|---|
2078 if (event->kind == selection_request_event) | 2078 if (event->kind == selection_request_event) |
2079 { | 2079 { |
2080 /* We must not use the ordinary copying code for this case, | 2080 /* We must not use the ordinary copying code for this case, |
2081 since `part' is an enum and copying it might not copy enough | 2081 since `part' is an enum and copying it might not copy enough |
2082 in this case. */ | 2082 in this case. */ |
2083 bcopy (event, kbd_store_ptr, sizeof (*event)); | 2083 bcopy (event, (char *) kbd_store_ptr, sizeof (*event)); |
2084 } | 2084 } |
2085 else | 2085 else |
2086 { | 2086 { |
2087 kbd_store_ptr->code = event->code; | 2087 kbd_store_ptr->code = event->code; |
2088 kbd_store_ptr->part = event->part; | 2088 kbd_store_ptr->part = event->part; |