mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
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:
parent
fe784fe9d3
commit
1b698a8218
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user