changeset 21530:be8599b6636a

(read_process_output): Fix mixing of Lisp_Object and int.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 13:05:38 +0000
parents 8c50610fbb99
children 5811a3129878
files src/process.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Tue Apr 14 13:03:30 1998 +0000
+++ b/src/process.c	Tue Apr 14 13:05:38 1998 +0000
@@ -2828,11 +2828,11 @@
 	     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)]);
 	    }
 	}