Mercurial > emacs
diff src/charset.h @ 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 | 7d3969ae9291 |
children | 3a72263855b4 |
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)