From 87de304f6e274241afe9259fbc447c349b9fb061 Mon Sep 17 00:00:00 2001 From: Abdelrazak Younes Date: Fri, 27 Oct 2006 09:41:32 +0000 Subject: [PATCH] MSVC compile fix git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15575 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/changes.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/changes.C b/src/changes.C index 0ba57aadf0..6458e65733 100644 --- a/src/changes.C +++ b/src/changes.C @@ -21,6 +21,7 @@ namespace lyx { +using std::abs; using std::endl; using std::string; using std::max; @@ -49,7 +50,7 @@ bool operator==(Change const & l, Change const & r) return l.author == r.author // both changes made within 5 minutes? - && abs(l.changetime - r.changetime) < 300; + && abs(static_cast(l.changetime - r.changetime)) < 300; }