From: Paul Eggert Date: Sun, 5 Apr 2020 17:45:09 +0000 (-0700) Subject: * src/coding.c (code_convert_string): Fix type mismatches. X-Git-Tag: emacs-28.0.90~7639 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=24c3fa96077a5fec6d8ba65d7c49ff1a731be32f;p=emacs.git * src/coding.c (code_convert_string): Fix type mismatches. --- 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)) {