From: Andreas Schwab Date: Tue, 14 Apr 1998 13:05:38 +0000 (+0000) Subject: (read_process_output): Fix mixing of Lisp_Object and X-Git-Tag: emacs-20.3~1545 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e6d6dff2d055b07c6c853624663d99ce3b3313c6;p=emacs.git (read_process_output): Fix mixing of Lisp_Object and int. --- diff --git a/src/process.c b/src/process.c index daa4e391744..0f1f702a348 100644 --- a/src/process.c +++ b/src/process.c @@ -2828,11 +2828,11 @@ read_process_output (proc, channel) valid memory because p->outfd will be changed once EOF is sent to the process. */ if (NILP (p->encode_coding_system) - && proc_encode_coding_system[p->outfd]) + && proc_encode_coding_system[XINT (p->outfd)]) { p->encode_coding_system = coding->symbol; setup_coding_system (coding->symbol, - proc_encode_coding_system[p->outfd]); + proc_encode_coding_system[XINT (p->outfd)]); } }