We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d4ddb8 commit f25bb50Copy full SHA for f25bb50
tests/index/racy.c
@@ -126,8 +126,8 @@ static void setup_race(void)
126
cl_assert(entry = (git_index_entry *)git_index_get_bypath(index, "A", 0));
127
128
/* force a race */
129
- entry->mtime.seconds = st.st_mtime;
130
- entry->mtime.nanoseconds = st.st_mtime_nsec;
+ entry->mtime.seconds = (int32_t)st.st_mtime;
+ entry->mtime.nanoseconds = (int32_t)st.st_mtime_nsec;
131
132
git_buf_dispose(&path);
133
}
0 commit comments