Skip to content

Commit 0c09753

Browse files
committed
Fix the build when defining USE_NSEC
1 parent 0f9d154 commit 0c09753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ GIT_INLINE(bool) git_index_entry_newer_than_index(
9292

9393
/* If the timestamp is the same or newer than the index, it's racy */
9494
#if defined(GIT_USE_NSEC)
95-
if ((int32_t)index->stamp.tv_sec < entry->mtime.seconds)
95+
if ((int32_t)index->stamp.mtime.tv_sec < entry->mtime.seconds)
9696
return true;
9797
else if ((int32_t)index->stamp.mtime.tv_sec > entry->mtime.seconds)
9898
return false;

0 commit comments

Comments
 (0)