no abs for int64 values with msvc

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15578 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2006-10-27 13:04:21 +00:00
parent fe784fe9d3
commit 1b698a8218

View File

@ -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<int>(l.changetime - r.changetime)) < 300;
&& abs(difftime(l.changetime, r.changetime)) < 300;
}