[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 24c3fa9: * src/coding.c (code_convert_string): Fix type mismatche
From: |
Paul Eggert |
Subject: |
master 24c3fa9: * src/coding.c (code_convert_string): Fix type mismatches. |
Date: |
Sun, 5 Apr 2020 13:45:50 -0400 (EDT) |
branch: master
commit 24c3fa96077a5fec6d8ba65d7c49ff1a731be32f
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
* src/coding.c (code_convert_string): Fix type mismatches.
---
src/coding.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/coding.c b/src/coding.c
index 97a6eb9..49c1e62 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -9524,8 +9524,8 @@ code_convert_string (Lisp_Object string, Lisp_Object
coding_system,
return (nocopy
? string
: (encodep
- ? make_unibyte_string (SDATA (string), bytes)
- : make_multibyte_string (SDATA (string), bytes, bytes)));
+ ? make_unibyte_string (SSDATA (string), bytes)
+ : make_multibyte_string (SSDATA (string), bytes, bytes)));
}
else if (BUFFERP (dst_object))
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 24c3fa9: * src/coding.c (code_convert_string): Fix type mismatches.,
Paul Eggert <=