X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FDepTable.cpp;h=e8258dc419418d2f1b23cbb57fb04d53586ba1e2;hb=09df753df4c24470617c64d25eae6df2db85dfed;hp=1cef441eb24f2aac9683a461127b6a00de66947a;hpb=3e3955c4f3ee3302d2e1aae643be37ee3b758512;p=lyx.git diff --git a/src/DepTable.cpp b/src/DepTable.cpp index 1cef441eb2..e8258dc419 100644 --- a/src/DepTable.cpp +++ b/src/DepTable.cpp @@ -25,9 +25,6 @@ #include -#ifndef CXX_GLOBAL_CSTD -using std::time; -#endif using std::endl; using std::flush; using std::getline; @@ -62,7 +59,7 @@ void DepTable::insert(FileName const & f, bool upd) LYXERR(Debug::DEPEND) << "done." << endl; struct stat f_info; stat(f.toFilesystemEncoding().c_str(), &f_info); - di.mtime_cur = f_info.st_mtime; + di.mtime_cur = long(f_info.st_mtime); } else { di.crc_cur = 0; di.mtime_cur = 0;