From 1b698a8218f4532661003e242a59c8ea6f26b152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20K=C3=BCmmel?= Date: Fri, 27 Oct 2006 13:04:21 +0000 Subject: [PATCH] no abs for int64 values with msvc git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15578 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/changes.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/changes.C b/src/changes.C index 6458e65733..133c5b76aa 100644 --- a/src/changes.C +++ b/src/changes.C @@ -50,7 +50,7 @@ bool operator==(Change const & l, Change const & r) return l.author == r.author // both changes made within 5 minutes? - && abs(static_cast(l.changetime - r.changetime)) < 300; + && abs(difftime(l.changetime, r.changetime)) < 300; }