changeset 46547:ac377294d1f1

(BCOPY_SHORT): Source pointer now points to const.
author Ken Raeburn <raeburn@raeburn.org>
date Fri, 19 Jul 2002 14:26:53 +0000
parents 254af4bff749
children cb1914307488
files src/charset.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/charset.h	Fri Jul 19 14:26:49 2002 +0000
+++ b/src/charset.h	Fri Jul 19 14:26:53 2002 +0000
@@ -826,7 +826,8 @@
 #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)