[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f3e6dd1: Fix a compilation warning in xdisp.c
From: |
Eli Zaretskii |
Subject: |
master f3e6dd1: Fix a compilation warning in xdisp.c |
Date: |
Sun, 23 Aug 2020 14:53:14 -0400 (EDT) |
branch: master
commit f3e6dd1ce97bb279565465dc1ecce1516f42683e
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix a compilation warning in xdisp.c
* src/xdisp.c (gui_consider_frame_title): Fix compilation warning.
Reported by Lars Ingebrigtsen <larsi@gnus.org>.
---
src/xdisp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/xdisp.c b/src/xdisp.c
index 9d2bec3..a6706b0 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f3e6dd1: Fix a compilation warning in xdisp.c,
Eli Zaretskii <=