]> git.lyx.org Git - features.git/commitdiff
shut down an MSVC warning.
authorAbdelrazak Younes <younes@lyx.org>
Sat, 20 Oct 2007 20:44:23 +0000 (20:44 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Sat, 20 Oct 2007 20:44:23 +0000 (20:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21089 a592a061-630c-0410-9148-cb99ea01b6c8

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;