diff options
| author | Dmitry Antipov | 2013-10-16 13:56:36 +0400 |
|---|---|---|
| committer | Dmitry Antipov | 2013-10-16 13:56:36 +0400 |
| commit | 17b9dc45a7cc3284351066ecad1895ae17d27484 (patch) | |
| tree | e82a439db8655217c725df674ee5f9a3128663b3 /src | |
| parent | 04d47595b9fdc18ce8694aa523a78971d002a0c3 (diff) | |
| download | emacs-17b9dc45a7cc3284351066ecad1895ae17d27484.tar.gz emacs-17b9dc45a7cc3284351066ecad1895ae17d27484.zip | |
* fns.c (Fstring_as_unibyte): Fix last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1009,7 +1009,7 @@ If STRING is multibyte and contains a character of charset | |||
| 1009 | 1009 | ||
| 1010 | if (STRING_MULTIBYTE (string)) | 1010 | if (STRING_MULTIBYTE (string)) |
| 1011 | { | 1011 | { |
| 1012 | unsigned char *str = xlispstrdup (string); | 1012 | unsigned char *str = (unsigned char *) xlispstrdup (string); |
| 1013 | ptrdiff_t bytes = str_as_unibyte (str, SBYTES (string)); | 1013 | ptrdiff_t bytes = str_as_unibyte (str, SBYTES (string)); |
| 1014 | 1014 | ||
| 1015 | string = make_unibyte_string ((char *) str, bytes); | 1015 | string = make_unibyte_string ((char *) str, bytes); |