Merge pull request #2897 from leoyanggit/fix_fileop_warning

Fix build warning on Android
This commit is contained in:
Carlos Martín Nieto 2015-02-13 08:30:21 +01:00
commit 3ca91107fc

View File

@ -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;