diff options
author | Vicent Marti <tanoku@gmail.com> | 2011-08-30 11:27:36 -0700 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-08-30 11:27:36 -0700 |
commit | 6f1d23b29fa00b5f46cd100d9c3d98f7cce014d6 (patch) | |
tree | c22805f84bae3b6d3b120a71b15285cb3944bdec | |
parent | 92e34fa6d6b8e1eb904b8df02e0709d816026662 (diff) | |
download | libgit2-6f1d23b29fa00b5f46cd100d9c3d98f7cce014d6.tar.gz |
repository: Fix signed/unsigned comp.
-rw-r--r-- | src/repository.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repository.c b/src/repository.c index 0e7d1972a..1b06c4f03 100644 --- a/src/repository.c +++ b/src/repository.c @@ -427,7 +427,8 @@ static int retrieve_ceiling_directories_offset(const char *path, const char *cei static int read_gitfile(char *path_out, const char *file_path, const char *base_path) { git_fbuffer file; - int error, end_offset; + int error; + size_t end_offset; char *data; assert(path_out && file_path && base_path); |