Commit f94c9276bc4bbc9779ef9abbda9db2f1cec5f863

Edward Thomson 2019-10-27T22:20:38

example: use `git_object_size_t` for 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 76f5ed2..469dbd1 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;
-	git_off_t i, rawsize;
+	git_object_size_t i, rawsize;
 	char spec[1024] = {0};
 	struct opts o = {0};
 	const char *rawdata;