1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

* print.c (Fexternal_debugging_output): Add cast to pacify

--enable-gcc-warnings.
This commit is contained in:
Dmitry Antipov 2014-02-03 11:05:28 +04:00
parent be445cf2ab
commit 34baf96c31
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-02-03 Dmitry Antipov <dmantipov@yandex.ru>
* print.c (Fexternal_debugging_output): Add cast to pacify
--enable-gcc-warnings.
2014-02-02 Martin Rudalics <rudalics@gmx.at>
* w32fns.c (Fx_create_frame): Process frame alpha earlier.

View File

@ -731,7 +731,7 @@ to make it write to the debugging output. */)
unsigned char mbstr[MAX_MULTIBYTE_LENGTH];
ptrdiff_t len = CHAR_STRING (ch, mbstr);
Lisp_Object encoded_ch =
ENCODE_SYSTEM (make_multibyte_string (mbstr, 1, len));
ENCODE_SYSTEM (make_multibyte_string ((char *) mbstr, 1, len));
fwrite (SSDATA (encoded_ch), SBYTES (encoded_ch), 1, stderr);
#ifdef WINDOWSNT