ENH: remove warning
This commit is contained in:
parent
c34b1b48fc
commit
39c164cb83
|
@ -865,7 +865,7 @@ bool SystemTools::Touch(const char* filename, bool create)
|
||||||
}
|
}
|
||||||
struct utimbuf buf;
|
struct utimbuf buf;
|
||||||
buf.actime = fromStat.st_atime;
|
buf.actime = fromStat.st_atime;
|
||||||
buf.modtime = SystemTools::GetTime();
|
buf.modtime = static_cast<time_t>(SystemTools::GetTime());
|
||||||
if(utime(filename, &buf) < 0)
|
if(utime(filename, &buf) < 0)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue