HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d4759
)
* fns.c (Fstring_as_unibyte): Fix last change.
author
Dmitry Antipov
<dmantipov@yandex.ru>
Wed, 16 Oct 2013 09:56:36 +0000
(13:56 +0400)
committer
Dmitry Antipov
<dmantipov@yandex.ru>
Wed, 16 Oct 2013 09:56:36 +0000
(13:56 +0400)
src/fns.c
patch
|
blob
|
blame
|
history
diff --git
a/src/fns.c
b/src/fns.c
index
ceea030
..
7a7ddc8
100644
(file)
--- a/
src/fns.c
+++ b/
src/fns.c
@@
-1009,7
+1009,7
@@
If STRING is multibyte and contains a character of charset
if (STRING_MULTIBYTE (string))
{
- unsigned char *str = xlispstrdup (string);
+ unsigned char *str =
(unsigned char *)
xlispstrdup (string);
ptrdiff_t bytes = str_as_unibyte (str, SBYTES (string));
string = make_unibyte_string ((char *) str, bytes);