Commit 3ca91107 by Carlos Martín Nieto

Merge pull request #2897 from leoyanggit/fix_fileop_warning

Fix build warning on Android
parents de84d9b4 3556a82a
...@@ -177,7 +177,7 @@ int git_futils_readbuffer_updated( ...@@ -177,7 +177,7 @@ int git_futils_readbuffer_updated(
*/ */
if (size && *size != (size_t)st.st_size) if (size && *size != (size_t)st.st_size)
changed = true; changed = true;
if (mtime && *mtime != st.st_mtime) if (mtime && *mtime != (time_t)st.st_mtime)
changed = true; changed = true;
if (!size && !mtime) if (!size && !mtime)
changed = true; changed = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment