From: Eli Zaretskii Date: Sun, 23 Aug 2020 18:52:06 +0000 (+0300) Subject: Fix a compilation warning in xdisp.c X-Git-Tag: emacs-28.0.90~6441 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f3e6dd1ce97bb279565465dc1ecce1516f42683e;p=emacs.git Fix a compilation warning in xdisp.c * src/xdisp.c (gui_consider_frame_title): Fix compilation warning. Reported by Lars Ingebrigtsen . --- diff --git a/src/xdisp.c b/src/xdisp.c index 9d2bec379dc..a6706b00c3c 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -12568,8 +12568,8 @@ gui_consider_frame_title (Lisp_Object frame) /* Make sure that any raw bytes in the title are properly represented by their multibyte sequences. */ ptrdiff_t nchars = 0; - len = str_as_multibyte (title, mode_line_noprop_buf_end - title, - len, &nchars); + len = str_as_multibyte ((unsigned char *)title, + mode_line_noprop_buf_end - title, len, &nchars); unbind_to (count, Qnil); /* Set the title only if it's changed. This avoids consing in