Fix a compiler warning

* lisp/org-clock.el (org-clock-timestamps-change): Switch to the
  seasonable interface for subtracting times.
This commit is contained in:
Marco Wahl 2016-06-14 20:39:02 +02:00
parent dd944fb590
commit 1aef73caa4
1 changed files with 1 additions and 1 deletions

View File

@ -1688,7 +1688,7 @@ Optional argument N tells to change by that many units."
(let ((ts (if updatets1 ts2 ts1))
(begts (if updatets1 begts1 begts2)))
(setq tdiff
(subtract-time
(time-subtract
(org-time-string-to-time org-last-changed-timestamp)
(org-time-string-to-time ts)))
(save-excursion