mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-27 22:41:37 +00:00
Merge pull request #2897 from leoyanggit/fix_fileop_warning
Fix build warning on Android
This commit is contained in:
commit
3ca91107fc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user