diff options
| author | Russell Belfer <rb@github.com> | 2014-02-07 15:24:39 -0800 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2014-02-07 15:43:37 -0800 |
| commit | 3158e2febe87787dc7804b5670f4dc53aeca87ed (patch) | |
| tree | bc3299249f84561c3d4cb1dd6d35f5282d86cfdc /src/index.h | |
| parent | c4ee3b54f803c1cfc957cdc8a2a5ca9c0c47e1d7 (diff) | |
| download | libgit2-3158e2febe87787dc7804b5670f4dc53aeca87ed.tar.gz | |
Fix some Windows warnings
This fixes a number of warnings with the Windows 64-bit build
including a test failure in test_repo_message__message where an
invalid pointer to a git_buf was being used.
Diffstat (limited to 'src/index.h')
| -rw-r--r-- | src/index.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.h b/src/index.h index 3dea4aa14..f88d110f7 100644 --- a/src/index.h +++ b/src/index.h @@ -56,7 +56,7 @@ extern int git_index_entry__cmp(const void *a, const void *b); extern int git_index_entry__cmp_icase(const void *a, const void *b); extern int git_index__find( - size_t *at_pos, git_index *index, const char *path, int path_len, int stage); + size_t *at_pos, git_index *index, const char *path, size_t path_len, int stage); extern void git_index__set_ignore_case(git_index *index, bool ignore_case); |
