From: Dmitry Antipov Date: Mon, 3 Feb 2014 07:05:28 +0000 (+0400) Subject: * print.c (Fexternal_debugging_output): Add cast to pacify X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~185 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=34baf96c314da0822f854dc237ea4931fcb7e87d;p=emacs.git * print.c (Fexternal_debugging_output): Add cast to pacify --enable-gcc-warnings. --- diff --git a/src/ChangeLog b/src/ChangeLog index 17c31844458..517b3129a22 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-02-03 Dmitry Antipov + + * print.c (Fexternal_debugging_output): Add cast to pacify + --enable-gcc-warnings. + 2014-02-02 Martin Rudalics * w32fns.c (Fx_create_frame): Process frame alpha earlier. diff --git a/src/print.c b/src/print.c index f6d2baa6cd1..475be9ec285 100644 --- a/src/print.c +++ b/src/print.c @@ -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