]> git.lyx.org Git - features.git/commitdiff
MSVC compile fix.
authorAbdelrazak Younes <younes@lyx.org>
Thu, 29 Nov 2007 08:53:39 +0000 (08:53 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Thu, 29 Nov 2007 08:53:39 +0000 (08:53 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21856 a592a061-630c-0410-9148-cb99ea01b6c8

src/DepTable.cpp

index 1635f05cccae8d1b7134ffbfeae024a08a751969..f93752d95039f693ef9cca1e6215c214d8ec40d9 100644 (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).");
 }