aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/charset.h3
1 files changed, 2 insertions, 1 deletions
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;
826#define BCOPY_SHORT(from, to, len) \ 826#define BCOPY_SHORT(from, to, len) \
827 do { \ 827 do { \
828 int i = len; \ 828 int i = len; \
829 unsigned char *from_p = from, *to_p = to; \ 829 const unsigned char *from_p = from; \
830 unsigned char *to_p = to; \
830 while (i--) *to_p++ = *from_p++; \ 831 while (i--) *to_p++ = *from_p++; \
831 } while (0) 832 } while (0)
832 833