X-Git-Url: https://jxself.org/git/?p=8sync.git;a=blobdiff_plain;f=8sync%2Fagenda.scm;h=e91487eda3aa52cbef2513eaa57ff91e094e89b1;hp=4a126a4e1fddbcf140748f62b7b9861f7d5e03e2;hb=48dffb1698035eb3e0eed696e2c296e26412b7d7;hpb=2255f6996a4fbe708b235760816a6dd49959fb6d diff --git a/8sync/agenda.scm b/8sync/agenda.scm index 4a126a4..e91487e 100644 --- a/8sync/agenda.scm +++ b/8sync/agenda.scm @@ -1,5 +1,5 @@ ;;; 8sync --- Asynchronous programming for Guile -;;; Copyright (C) 2015, 2016 Christopher Allan Webber +;;; Copyright © 2015, 2016, 2017 Christopher Allan Webber ;;; ;;; This file is part of 8sync. ;;; @@ -411,7 +411,8 @@ forge ahead in our current function!" ;; convert into sec / usec pair (receive (secs usecs) (floor/ next-time-in-usecs 1000000) - (cons secs (floor usecs)))) + (cons (inexact->exact secs) + (inexact->exact (floor usecs))))) (define (convert-integer) (cons (+ in-secs cur-secs) cur-usecs)) (if (integer? in-secs)