From: Ken Raeburn Date: Fri, 19 Jul 2002 14:26:53 +0000 (+0000) Subject: (BCOPY_SHORT): Source pointer now points to const. X-Git-Tag: ttn-vms-21-2-B4~13979 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a9fb257eeaf98a488cace0453490cc5863a600c6;p=emacs.git (BCOPY_SHORT): Source pointer now points to const. --- diff --git a/src/charset.h b/src/charset.h index 58e8f3dfb9d..2b58f88f840 100644 --- a/src/charset.h +++ b/src/charset.h @@ -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)