mirror of
https://github.com/ziglang/zig.git
synced 2024-11-16 00:57:04 +00:00
stage1: fix compilation on 32-bit arm
This commit is contained in:
parent
ae99fabfe4
commit
b99c6d56da
@ -1073,8 +1073,8 @@ static Error set_file_times(OsFile file, OsTimeStamp ts) {
|
||||
return ErrorNone;
|
||||
#else
|
||||
struct timespec times[2] = {
|
||||
{ ts.sec, ts.nsec },
|
||||
{ ts.sec, ts.nsec },
|
||||
{ (time_t)ts.sec, (time_t)ts.nsec },
|
||||
{ (time_t)ts.sec, (time_t)ts.nsec },
|
||||
};
|
||||
if (futimens(file, times) == -1) {
|
||||
switch (errno) {
|
||||
|
Loading…
Reference in New Issue
Block a user