diff options
| author | Russell Belfer <rb@github.com> | 2012-04-13 13:00:10 -0700 |
|---|---|---|
| committer | Russell Belfer <rb@github.com> | 2012-04-17 10:47:39 -0700 |
| commit | 44ef8b1b300f0cd3d8572fa1b40d257462f28240 (patch) | |
| tree | 34f38bee213d1041fec7ac9dc4e63191182f3bf8 /src/path.h | |
| parent | f201d613a80f7ad6f54d90eb7a7a0d8b8c72676b (diff) | |
| download | libgit2-44ef8b1b300f0cd3d8572fa1b40d257462f28240.tar.gz | |
Fix warnings on 64-bit windows builds
This fixes all the warnings on win64 except those in deps, which
come from the regex code.
Diffstat (limited to 'src/path.h')
| -rw-r--r-- | src/path.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path.h b/src/path.h index eb397d17a..fd76805e5 100644 --- a/src/path.h +++ b/src/path.h @@ -204,8 +204,8 @@ extern int git_path_direach( * Sort function to order two paths. */ extern int git_path_cmp( - const char *name1, int len1, int isdir1, - const char *name2, int len2, int isdir2); + const char *name1, size_t len1, int isdir1, + const char *name2, size_t len2, int isdir2); /** * Invoke callback up path directory by directory until the ceiling is |
