]> git.lyx.org Git - lyx.git/blobdiff - src/DepTable.cpp
pimpl not needed here
[lyx.git] / src / DepTable.cpp
index 46134055835b9130609d94347047ab087dad1d6a..e8258dc419418d2f1b23cbb57fb04d53586ba1e2 100644 (file)
@@ -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;