]> code.delx.au - gnu-emacs/commitdiff
(sit_for): Use XINT.
authorKim F. Storm <storm@cua.dk>
Wed, 12 Jul 2006 08:21:23 +0000 (08:21 +0000)
committerKim F. Storm <storm@cua.dk>
Wed, 12 Jul 2006 08:21:23 +0000 (08:21 +0000)
src/dispnew.c

index 018717e591f23633dfc949a5922c0e3093c3b152..748456ba3a7d3011839ad690e4064386e53073fa 100644 (file)
@@ -6521,7 +6521,7 @@ sit_for (timeout, reading, do_display)
 
   if (INTEGERP (timeout))
     {
-      sec = XFASTINT (timeout);
+      sec = XINT (timeout);
       usec = 0;
     }
   else if (FLOATP (timeout))