From 84473eb610e64e1b64d2ca73a092cc257995335f Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 10 Jul 2022 15:25:00 +0800 Subject: [PATCH] ; * src/composite.c (Fcomposition_get_gstring): Fix compiler warnings. --- src/composite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5