summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-10-27 22:20:38 +0000
committerEdward Thomson <ethomson@edwardthomson.com>2019-11-22 15:23:46 +1100
commitf94c9276bc4bbc9779ef9abbda9db2f1cec5f863 (patch)
tree63de2b6acc68f4cd5245043a5fdb39771c14c8ac /examples
parent4dffa295c09b00fc781f7fb41596c61a7fb9649f (diff)
downloadlibgit2-f94c9276bc4bbc9779ef9abbda9db2f1cec5f863.tar.gz
example: use `git_object_size_t` for 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 76f5ed2bd..469dbd1a1 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;