From: Po Lu Date: Sun, 10 Jul 2022 07:25:00 +0000 (+0800) Subject: ; * src/composite.c (Fcomposition_get_gstring): Fix compiler warnings. X-Git-Tag: emacs-29.0.90~1447^2~1052 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=84473eb610e64e1b64d2ca73a092cc257995335f;p=emacs.git ; * src/composite.c (Fcomposition_get_gstring): Fix compiler warnings. --- diff --git a/src/composite.c b/src/composite.c index 5ad846e40b0..1596e996d6c 100644 --- a/src/composite.c +++ b/src/composite.c @@ -1897,7 +1897,7 @@ should be ignored. */) /* FIXME: Not clear why we need to do that: AFAICT the rest of the code should work on an ASCII-only unibyte string just as well (bug#56347). */ - string = make_multibyte_string (SDATA (string), chars, chars); + string = make_multibyte_string (SSDATA (string), chars, chars); } frombyte = string_char_to_byte (string, frompos); }