diff src/process.c @ 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 fa9ff387d260
children bb39a5863a82
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)]);
 	    }
 	}