mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-23 05:38:41 +00:00
Fix compilation warning
This commit is contained in:
parent
fc1826d149
commit
1a0537e450
@ -1095,7 +1095,7 @@ int git_repository_message(char *buffer, size_t len, git_repository *repo)
|
|||||||
|
|
||||||
if (buffer == NULL) {
|
if (buffer == NULL) {
|
||||||
git_buf_free(&path);
|
git_buf_free(&path);
|
||||||
return st.st_size;
|
return (int)st.st_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (git_futils_readbuffer(&buf, git_buf_cstr(&path)) < 0)
|
if (git_futils_readbuffer(&buf, git_buf_cstr(&path)) < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user