ENH: remove warning

This commit is contained in:
Bill Hoffman 2007-12-04 17:00:44 -05:00
parent c34b1b48fc
commit 39c164cb83
1 changed files with 1 additions and 1 deletions

View File

@ -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;