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/filter.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/filter.c')
-rw-r--r-- | src/filter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filter.c b/src/filter.c index 7b7e7f172..bb9d66ad6 100644 --- a/src/filter.c +++ b/src/filter.c @@ -764,7 +764,7 @@ int git_filter_list_apply_to_file( static int buf_from_blob(git_buf *out, git_blob *blob) { - git_off_t rawsize = git_blob_rawsize(blob); + git_object_size_t rawsize = git_blob_rawsize(blob); if (!git__is_sizet(rawsize)) { git_error_set(GIT_ERROR_OS, "blob is too large to filter"); |