summaryrefslogtreecommitdiff
path: root/src/process.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>1998-04-14 13:05:38 +0000
committerAndreas Schwab <schwab@suse.de>1998-04-14 13:05:38 +0000
commite6d6dff2d055b07c6c853624663d99ce3b3313c6 (patch)
treed0bbf09fb006494a865541ffcab9d625c37e73f7 /src/process.c
parentdab3ab3ce55b286586fc9b5abe7fc113bf8db866 (diff)
downloademacs-e6d6dff2d055b07c6c853624663d99ce3b3313c6.tar.gz
(read_process_output): Fix mixing of Lisp_Object and
int.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 2 insertions, 2 deletions
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)]);
}
}