[cmake-commits] hoffman committed SystemTools.cxx 1.212 1.213

cmake-commits at cmake.org cmake-commits at cmake.org
Tue Dec 4 17:00:46 EST 2007


Update of /cvsroot/CMake/CMake/Source/kwsys
In directory public:/mounts/ram/cvs-serv24933

Modified Files:
	SystemTools.cxx 
Log Message:
ENH: remove warning


Index: SystemTools.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/kwsys/SystemTools.cxx,v
retrieving revision 1.212
retrieving revision 1.213
diff -u -d -r1.212 -r1.213
--- SystemTools.cxx	4 Dec 2007 21:03:19 -0000	1.212
+++ SystemTools.cxx	4 Dec 2007 22:00:44 -0000	1.213
@@ -865,7 +865,7 @@
     }
   struct utimbuf buf;
   buf.actime = fromStat.st_atime;
-  buf.modtime = SystemTools::GetTime();
+  buf.modtime = static_cast<time_t>(SystemTools::GetTime());
   if(utime(filename, &buf) < 0)
     {
     return false;



More information about the Cmake-commits mailing list