From 24c3fa96077a5fec6d8ba65d7c49ff1a731be32f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 5 Apr 2020 10:45:09 -0700 Subject: * src/coding.c (code_convert_string): Fix type mismatches. --- src/coding.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/coding.c') diff --git a/src/coding.c b/src/coding.c index 97a6eb949a8..49c1e625d57 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)) { -- cgit v1.2.3