diff options
| author | Andreas Schwab | 1998-04-14 13:05:38 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-04-14 13:05:38 +0000 |
| commit | e6d6dff2d055b07c6c853624663d99ce3b3313c6 (patch) | |
| tree | d0bbf09fb006494a865541ffcab9d625c37e73f7 /src | |
| parent | dab3ab3ce55b286586fc9b5abe7fc113bf8db866 (diff) | |
| download | emacs-e6d6dff2d055b07c6c853624663d99ce3b3313c6.tar.gz emacs-e6d6dff2d055b07c6c853624663d99ce3b3313c6.zip | |
(read_process_output): Fix mixing of Lisp_Object and
int.
Diffstat (limited to 'src')
| -rw-r--r-- | src/process.c | 4 |
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 | ||