]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/composite.c (Fcomposition_get_gstring): Fix compiler warnings.
authorPo Lu <luangruo@yahoo.com>
Sun, 10 Jul 2022 07:25:00 +0000 (15:25 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 10 Jul 2022 07:25:00 +0000 (15:25 +0800)
src/composite.c

index 5ad846e40b02310fa5b8120d6efcacdc7565cd28..1596e996d6c795f0f6c2387bfbf06643df57443a 100644 (file)
@@ -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);
     }