From f990b4e5d91b66e20f06cc0dab0b3f0ab97c3f91 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 19 Mar 2011 19:45:19 -0700 Subject: [PATCH] * process.c (process_send_signal): Add cast to avoid pointer signedness problem. --- src/ChangeLog | 1 + src/process.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.2