1
Fork 0
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:
Ken Raeburn 2002-07-19 14:26:53 +00:00
parent 4d3b07fdcd
commit a9fb257eea

View file

@ -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)