HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanup xmalloc.
[bpt/emacs.git]
/
src
/
coding.c
diff --git
a/src/coding.c
b/src/coding.c
index
b0359b8
..
891fea0
100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-8006,7
+8006,7
@@
encode_coding_object (struct coding_system *coding,
{
ptrdiff_t dst_bytes = max (1, coding->src_chars);
coding->dst_object = Qnil;
- coding->destination =
(unsigned char *)
xmalloc (dst_bytes);
+ coding->destination = xmalloc (dst_bytes);
coding->dst_bytes = dst_bytes;
coding->dst_multibyte = 0;
}