]> git.eshelyaron.com Git - emacs.git/commitdiff
(BCOPY_SHORT): Source pointer now points to const.
authorKen Raeburn <raeburn@raeburn.org>
Fri, 19 Jul 2002 14:26:53 +0000 (14:26 +0000)
committerKen Raeburn <raeburn@raeburn.org>
Fri, 19 Jul 2002 14:26:53 +0000 (14:26 +0000)
src/charset.h

index 58e8f3dfb9d73b46b6bbabb4be1fce8441bb5752..2b58f88f84042f553cb84be94b8bcf8f46a2b202 100644 (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)