Merge pull request #2897 from leoyanggit/fix_fileop_warning Fix build warning on Android
diff --git a/src/fileops.c b/src/fileops.c
index eddd5a8..73da430 100644
--- a/src/fileops.c
+++ b/src/fileops.c
@@ -177,7 +177,7 @@ int git_futils_readbuffer_updated(
*/
if (size && *size != (size_t)st.st_size)
changed = true;
- if (mtime && *mtime != st.st_mtime)
+ if (mtime && *mtime != (time_t)st.st_mtime)
changed = true;
if (!size && !mtime)
changed = true;