diff options
| author | Kim F. Storm | 2006-07-12 08:21:23 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2006-07-12 08:21:23 +0000 |
| commit | 7ff147735137794affec748b42a4a77db7be27c8 (patch) | |
| tree | 9b462a6f0a5a624736b64e3a49f8f590dc967099 /src | |
| parent | 625088623c53102f90b991182ed9324fc74b6095 (diff) | |
| download | emacs-7ff147735137794affec748b42a4a77db7be27c8.tar.gz emacs-7ff147735137794affec748b42a4a77db7be27c8.zip | |
(sit_for): Use XINT.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index 018717e591f..748456ba3a7 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -6521,7 +6521,7 @@ sit_for (timeout, reading, do_display) | |||
| 6521 | 6521 | ||
| 6522 | if (INTEGERP (timeout)) | 6522 | if (INTEGERP (timeout)) |
| 6523 | { | 6523 | { |
| 6524 | sec = XFASTINT (timeout); | 6524 | sec = XINT (timeout); |
| 6525 | usec = 0; | 6525 | usec = 0; |
| 6526 | } | 6526 | } |
| 6527 | else if (FLOATP (timeout)) | 6527 | else if (FLOATP (timeout)) |