From: Paul Eggert Date: Sun, 20 Mar 2011 02:45:19 +0000 (-0700) Subject: * process.c (process_send_signal): Add cast to avoid pointer signedness problem. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~513^2~28 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f990b4e5d91b66e20f06cc0dab0b3f0ab97c3f91;p=emacs.git * process.c (process_send_signal): Add cast to avoid pointer signedness problem. --- diff --git a/src/ChangeLog b/src/ChangeLog index 12a70ce9575..fa0ff89e5f7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -6,6 +6,7 @@ Rename or move locals. (Fmake_network_process): Define label "retry_connect" only if needed. (Fnetwork_interface_info): Fix pointer signedness. + (process_send_signal): Add cast to avoid pointer signedness problem. 2011-03-19 Paul Eggert diff --git a/src/process.c b/src/process.c index 3cdf045f4f4..ae7ec158ef9 100644 --- a/src/process.c +++ b/src/process.c @@ -5927,7 +5927,7 @@ process_send_signal (Lisp_Object process, int signo, Lisp_Object current_group, if (sig_char && *sig_char != CDISABLE) { - send_process (proc, sig_char, 1, Qnil); + send_process (proc, (char *) sig_char, 1, Qnil); return; } /* If we can't send the signal with a character,