diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2019-06-23 15:43:38 +0100 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2019-11-22 15:10:19 +1100 |
commit | 4334b1779f661bf9a77c68c928e970cf9d25b477 (patch) | |
tree | 1e909d5854b3c97f5ca12841af16c031014ad377 /src/reader.c | |
parent | bed9fc6b59eafc9ad197a7ff7215ed6be97663ae (diff) | |
download | libgit2-4334b1779f661bf9a77c68c928e970cf9d25b477.tar.gz |
blob: use `git_object_size_t` for object size
Instead of using a signed type (`off_t`) use a new `git_object_size_t`
for the sizes of objects.
Diffstat (limited to 'src/reader.c')
-rw-r--r-- | src/reader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c index 2d87251ee..90f700a00 100644 --- a/src/reader.c +++ b/src/reader.c @@ -32,7 +32,7 @@ static int tree_reader_read( tree_reader *reader = (tree_reader *)_reader; git_tree_entry *tree_entry = NULL; git_blob *blob = NULL; - git_off_t blobsize; + git_object_size_t blobsize; int error; if ((error = git_tree_entry_bypath(&tree_entry, reader->tree, filename)) < 0 || |