MSVC compile fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21856 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-11-29 08:53:39 +00:00
parent 9b93a45374
commit f3a4424408

View File

@ -73,7 +73,7 @@ void DepTable::insert(FileName const & f, bool upd)
void DepTable::update()
{
LYXERR(Debug::DEPEND, "Updating DepTable...");
time_type const start_time = current_time();
time_t const start_time = current_time();
DepList::iterator itr = deplist.begin();
while (itr != deplist.end()) {
@ -108,9 +108,9 @@ void DepTable::update()
}
++itr;
}
time_type const time_sec = current_time() - start_time;
time_t const time_sec = current_time() - start_time;
LYXERR(Debug::DEPEND, "Finished updating DepTable ("
<< time_sec << " sec).");
<< long(time_sec) << " sec).");
}