aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-14 13:05:38 +0000
committerAndreas Schwab1998-04-14 13:05:38 +0000
commite6d6dff2d055b07c6c853624663d99ce3b3313c6 (patch)
treed0bbf09fb006494a865541ffcab9d625c37e73f7 /src/process.c
parentdab3ab3ce55b286586fc9b5abe7fc113bf8db866 (diff)
downloademacs-e6d6dff2d055b07c6c853624663d99ce3b3313c6.tar.gz
emacs-e6d6dff2d055b07c6c853624663d99ce3b3313c6.zip
(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)
2828 valid memory because p->outfd will be changed once EOF is 2828 valid memory because p->outfd will be changed once EOF is
2829 sent to the process. */ 2829 sent to the process. */
2830 if (NILP (p->encode_coding_system) 2830 if (NILP (p->encode_coding_system)
2831 && proc_encode_coding_system[p->outfd]) 2831 && proc_encode_coding_system[XINT (p->outfd)])
2832 { 2832 {
2833 p->encode_coding_system = coding->symbol; 2833 p->encode_coding_system = coding->symbol;
2834 setup_coding_system (coding->symbol, 2834 setup_coding_system (coding->symbol,
2835 proc_encode_coding_system[p->outfd]); 2835 proc_encode_coding_system[XINT (p->outfd)]);
2836 } 2836 }
2837 } 2837 }
2838 2838