Mercurial > hg > xemacs-beta
comparison src/keymap.c @ 203:850242ba4a81 r20-3b28
Import from CVS: tag r20-3b28
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:02:21 +0200 |
parents | acd284d43ca1 |
children | 1f0dabaa0855 |
comparison
equal
deleted
inserted
replaced
202:61eefc8fc970 | 203:850242ba4a81 |
---|---|
3654 { | 3654 { |
3655 int size = lower_keys_count + 50; | 3655 int size = lower_keys_count + 50; |
3656 if (! c->keys_so_far_malloced) | 3656 if (! c->keys_so_far_malloced) |
3657 { | 3657 { |
3658 struct key_data *new = xnew_array (struct key_data, size); | 3658 struct key_data *new = xnew_array (struct key_data, size); |
3659 memcpy ((void *)new, (const void *)c->keys_so_far, | 3659 memcpy ((void *)new, (CONST void *)c->keys_so_far, |
3660 c->keys_so_far_total_size * sizeof (struct key_data)); | 3660 c->keys_so_far_total_size * sizeof (struct key_data)); |
3661 } | 3661 } |
3662 else | 3662 else |
3663 XREALLOC_ARRAY (c->keys_so_far, struct key_data, size); | 3663 XREALLOC_ARRAY (c->keys_so_far, struct key_data, size); |
3664 | 3664 |