summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2012-08-15 14:34:49 -0700
committerVicent Martí <vicent@github.com>2012-08-15 14:34:49 -0700
commit1a10fded40875f986164b80c6efd414cd1507cb8 (patch)
tree36bc4bbe7c8e423767bb2fa9b81a808faa259651 /src
parentfc1826d149faee191adf38d6a91d5a9fa7c8cddc (diff)
parente0db9f1117197deb9d948976f901d20d04a5d1c4 (diff)
downloadlibgit2-1a10fded40875f986164b80c6efd414cd1507cb8.tar.gz
Merge pull request #877 from nulltoken/minor-fixes
Minor fixes
Diffstat (limited to 'src')
-rw-r--r--src/repository.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c
index a4eb71876..6f1f4349b 100644
--- a/src/repository.c
+++ b/src/repository.c
@@ -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)