summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-12-04 22:00:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-12-04 22:00:44 (GMT)
commit39c164cb836ecd2fe8a1ca23f4fcb632455d396f (patch)
tree29d4049a8dde2ebe0e41b71e4450a2c92ab4bab3 /Source/kwsys/SystemTools.cxx
parentc34b1b48fcc3a766d5e3237db023994507d5dfc5 (diff)
downloadCMake-39c164cb836ecd2fe8a1ca23f4fcb632455d396f.zip
CMake-39c164cb836ecd2fe8a1ca23f4fcb632455d396f.tar.gz
CMake-39c164cb836ecd2fe8a1ca23f4fcb632455d396f.tar.bz2
ENH: remove warning
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index e9d72ed..b3d92e8 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -865,7 +865,7 @@ bool SystemTools::Touch(const char* filename, bool create)
}
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;