summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/atimer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atimer.c b/src/atimer.c
index 92f5076fcc7..d4cd6ef4801 100644
--- a/src/atimer.c
+++ b/src/atimer.c
@@ -100,8 +100,8 @@ start_atimer (type, time, fn, client_data)
#ifndef HAVE_SETITIMER
if (EMACS_USECS (time) != 0)
{
- EMACS_USECS (time) = 0;
- ++EMACS_SECS (time);
+ EMACS_SET_USECS (time, 0);
+ EMACS_SET_SECS (time, EMACS_SECS (time) + 1);
}
#endif /* not HAVE_SETITIMER */