Commit 6f1d23b29fa00b5f46cd100d9c3d98f7cce014d6

Vicent Marti 2011-08-30T11:27:36

repository: Fix signed/unsigned comp.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/src/repository.c b/src/repository.c
index 0e7d197..1b06c4f 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);