(Fchar_after): Fix type clashes.
authorAndreas Schwab <schwab@suse.de>
Fri, 30 Oct 1998 10:13:41 +0000 (10:13 +0000)
committerAndreas Schwab <schwab@suse.de>
Fri, 30 Oct 1998 10:13:41 +0000 (10:13 +0000)
src/editfns.c

index 67758db..7ae3985 100644 (file)
@@ -603,7 +603,7 @@ If POS is out of range, the value is nil.")
   if (NILP (pos))
     {
       pos_byte = PT_BYTE;
-      pos = PT;
+      XSETFASTINT (pos, PT);
     }
 
   if (MARKERP (pos))
@@ -637,7 +637,7 @@ If POS is out of range, the value is nil.")
   if (NILP (pos))
     {
       pos_byte = PT_BYTE;
-      pos = PT;
+      XSETFASTINT (pos, PT);
     }
 
   if (MARKERP (pos))