Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-07-24 09:57:58 +0400
committernulltoken <emeric.fermas@gmail.com>2012-07-24 18:10:12 +0400
commitb8457baae24269c9fb777591e2a0e1b425ba31b6 (patch)
tree777a98dbd74f4906ac2faf0042e5118578196db7 /src/notes.c
parent944d250f964698b33d9fa09e2e6af74b1dd84de2 (diff)
portability: Improve x86/amd64 compatibility
Diffstat (limited to 'src/notes.c')
-rw-r--r--src/notes.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/notes.c b/src/notes.c
index 7813e9985..37d5f59cc 100644
--- a/src/notes.c
+++ b/src/notes.c
@@ -522,7 +522,8 @@ static int process_entry_path(
int (*note_cb)(git_note_data *note_data, void *payload),
void *payload)
{
- int i = 0, j = 0, error = -1, len;
+ int error = -1;
+ size_t i = 0, j = 0, len;
git_buf buf = GIT_BUF_INIT;
git_note_data note_data;