Commit ede458b4e4a21e4cf54a0c6628cfc349db63ef6c

Edward Thomson 2019-06-25T14:48:10

example: use `git_off_t` for the object size

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/examples/blame.c b/examples/blame.c
index 8484c9f..0625dd5 100644
--- a/examples/blame.c
+++ b/examples/blame.c
@@ -33,7 +33,7 @@ static void parse_opts(struct opts *o, int argc, char *argv[]);
 int lg2_blame(git_repository *repo, int argc, char *argv[])
 {
 	int line, break_on_null_hunk;
-	size_t i, rawsize;
+	git_off_t i, rawsize;
 	char spec[1024] = {0};
 	struct opts o = {0};
 	const char *rawdata;