mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(BCOPY_SHORT): Source pointer now points to const.
This commit is contained in:
parent
4d3b07fdcd
commit
a9fb257eea
1 changed files with 2 additions and 1 deletions
|
|
@ -826,7 +826,8 @@ extern Lisp_Object Vauto_fill_chars;
|
|||
#define BCOPY_SHORT(from, to, len) \
|
||||
do { \
|
||||
int i = len; \
|
||||
unsigned char *from_p = from, *to_p = to; \
|
||||
const unsigned char *from_p = from; \
|
||||
unsigned char *to_p = to; \
|
||||
while (i--) *to_p++ = *from_p++; \
|
||||
} while (0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue