mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +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…
x
Reference in New Issue
Block a user