summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-25 14:48:10 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-06-25 15:22:46 +0100
commitede458b4e4a21e4cf54a0c6628cfc349db63ef6c (patch)
tree6976a0cb6bbacaeb661070119c3688c18ed4efcf /examples
parentf48cf5b3a004c9cf4c3adac7187e4e793f305d1b (diff)
downloadlibgit2-ede458b4e4a21e4cf54a0c6628cfc349db63ef6c.tar.gz
example: use `git_off_t` for the object size
Diffstat (limited to 'examples')
-rw-r--r--examples/blame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blame.c b/examples/blame.c
index 8484c9f05..0625dd55c 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;