]> git.eshelyaron.com Git - emacs.git/commitdiff
(read_process_output): Don't use XFASTINT as an lvalue.
authorKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 17:35:21 +0000 (17:35 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 4 Oct 1994 17:35:21 +0000 (17:35 +0000)
src/process.c

index 07b1e7c9ff85d46de97326f24a133d1336137468..e2c9f2e87879a3fb94b1cac766134cba8817cbbb 100644 (file)
@@ -2347,9 +2347,9 @@ read_process_output (proc, channel)
 
       /* Insert after old_begv, but before old_zv.  */
       if (point < XFASTINT (old_begv))
-       XFASTINT (old_begv) += nchars;
+       XSETFASTINT (old_begv, XFASTINT (old_begv) + nchars);
       if (point <= XFASTINT (old_zv))
-       XFASTINT (old_zv) += nchars;
+       XSETFASTINT (old_zv, XFASTINT (old_zv) + nchars);
 
       /* Insert before markers in case we are inserting where
         the buffer's mark is, and the user's next command is Meta-y.  */