diff options
| author | Ken Raeburn | 2002-07-19 14:26:53 +0000 |
|---|---|---|
| committer | Ken Raeburn | 2002-07-19 14:26:53 +0000 |
| commit | a9fb257eeaf98a488cace0453490cc5863a600c6 (patch) | |
| tree | c739e63f1d9705fe4a8c0818a4c5749c7af9a62e /src | |
| parent | 4d3b07fdcd4af3aaa6b57753a163973bca4577ba (diff) | |
| download | emacs-a9fb257eeaf98a488cace0453490cc5863a600c6.tar.gz emacs-a9fb257eeaf98a488cace0453490cc5863a600c6.zip | |
(BCOPY_SHORT): Source pointer now points to const.
Diffstat (limited to 'src')
| -rw-r--r-- | src/charset.h | 3 |
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 | ||