MSVC compile fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15575 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2006-10-27 09:41:32 +00:00
parent a96cb88ccd
commit 87de304f6e

View File

@ -21,6 +21,7 @@
namespace lyx { namespace lyx {
using std::abs;
using std::endl; using std::endl;
using std::string; using std::string;
using std::max; using std::max;
@ -49,7 +50,7 @@ bool operator==(Change const & l, Change const & r)
return l.author == r.author return l.author == r.author
// both changes made within 5 minutes? // both changes made within 5 minutes?
&& abs(l.changetime - r.changetime) < 300; && abs(static_cast<int>(l.changetime - r.changetime)) < 300;
} }