Commit 1a0537e4 by nulltoken

Fix compilation warning

parent fc1826d1
......@@ -1095,7 +1095,7 @@ int git_repository_message(char *buffer, size_t len, git_repository *repo)
if (buffer == NULL) {
git_buf_free(&path);
return st.st_size;
return (int)st.st_size;
}
if (git_futils_readbuffer(&buf, git_buf_cstr(&path)) < 0)
......
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