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

index d5cf5b0fedba40e9a6881d100a2daa3248f84b3d..1e8ded46942c56003c4d01c0e7fe256669823527 100644 (file)
@@ -222,7 +222,8 @@ Whichever character you type to run this command is inserted.")
   else
     while (XINT (arg) > 0)
       {
-       XFASTINT (arg)--;       /* Ok since old and new vals both nonneg */
+       /* Ok since old and new vals both nonneg */
+       XSETFASTINT (arg, XFASTINT (arg) - 1);
        internal_self_insert (XINT (last_command_char), XFASTINT (arg) != 0);
       }
 
@@ -277,7 +278,8 @@ In Auto Fill mode, if no numeric arg, break the preceding line if it's long.")
        insert (&c1, 1);
       else
        internal_self_insert ('\n', !NILP (arg1));
-      XFASTINT (arg)--;                /* Ok since old and new vals both nonneg */
+      /* Ok since old and new vals both nonneg */
+      XSETFASTINT (arg, XFASTINT (arg) - 1);
     }
 
   if (flag)