changeset 110547:a6fc92a6d443

Fix int/EMACS_INT use in callproc.c. callproc.c (Fcall_process): Use EMACS_INT for count of characters read from the subprocess.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 24 Sep 2010 09:32:25 -0400
parents 446e46eafccb
children f7b98576d87f
files src/ChangeLog src/callproc.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Sep 24 09:05:24 2010 -0400
+++ b/src/ChangeLog	Fri Sep 24 09:32:25 2010 -0400
@@ -1,5 +1,8 @@
 2010-09-24  Eli Zaretskii  <eliz@gnu.org>
 
+	* callproc.c (Fcall_process): Use EMACS_INT for count of
+	characters read from the subprocess.
+
 	* bidi.c (struct bidi_paragraph_info): Use EMACS_INT for buffer
 	positions.
 	(bidi_cache_search, bidi_cache_find): Use EMACS_INT for buffer
--- a/src/callproc.c	Fri Sep 24 09:05:24 2010 -0400
+++ b/src/callproc.c	Fri Sep 24 09:32:25 2010 -0400
@@ -678,9 +678,9 @@
   QUIT;
 
   {
-    register int nread;
+    register EMACS_INT nread;
     int first = 1;
-    int total_read = 0;
+    EMACS_INT total_read = 0;
     int carryover = 0;
     int display_on_the_fly = display_p;
     struct coding_system saved_coding;