aboutsummaryrefslogtreecommitdiff
path: root/lisp/emms-last-played.el
diff options
context:
space:
mode:
authorWilliam Xu <william.xwl@gmail.com>2009-11-23 22:11:19 +0800
committerWilliam Xu <william.xwl@gmail.com>2009-11-23 22:11:19 +0800
commite54c755ce0c2ef19bfcd4cdca995e4d2bc3b2703 (patch)
tree2d5262b40213039f05a8af123148ca0a41fbc6c5 /lisp/emms-last-played.el
parent2b629e9c2d97a521a4cddbf03286661eab687c42 (diff)
Fix compiler warnings.
For emms-browser.el, emms-compat.el, emms-last-play.el, emms-lyrics.el and emms-streams.el.
Diffstat (limited to 'lisp/emms-last-played.el')
-rw-r--r--lisp/emms-last-played.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emms-last-played.el b/lisp/emms-last-played.el
index 0203ac7..529869a 100644
--- a/lisp/emms-last-played.el
+++ b/lisp/emms-last-played.el
@@ -103,8 +103,8 @@ If non-existent, it is set to 1."
Returns \" ? \" if there's bad input or if an other error occurs.
Input should look like this: \"Sun, 14 Oct 2001 13:34:39 +0200\"."
(condition-case ()
- (let* ((messy-date (time-to-seconds messy-date))
- (now (time-to-seconds (current-time)))
+ (let* ((messy-date (float-time messy-date))
+ (now (float-time (current-time)))
;;If we don't find something suitable we'll use this one
(my-format "%b %d '%y"))
(let* ((difference (- now messy-date))