X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FDepTable.cpp;h=e8258dc419418d2f1b23cbb57fb04d53586ba1e2;hb=09df753df4c24470617c64d25eae6df2db85dfed;hp=46134055835b9130609d94347047ab087dad1d6a;hpb=2a2a5e13dd906709b8f0bab90d2cc2eb47bdc055;p=lyx.git diff --git a/src/DepTable.cpp b/src/DepTable.cpp index 4613405583..e8258dc419 100644 --- a/src/DepTable.cpp +++ b/src/DepTable.cpp @@ -59,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;