diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx index e9d72ed3b..b3d92e8e4 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(SystemTools::GetTime()); if(utime(filename, &buf) < 0) { return false;