From 1a0537e45099054a50e148e5af915a32928705b4 Mon Sep 17 00:00:00 2001 From: nulltoken Date: Wed, 15 Aug 2012 00:08:38 +0200 Subject: [PATCH] Fix compilation warning --- src/repository.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)