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/object.h | |
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/object.h')
-rw-r--r-- | src/object.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/object.h b/src/object.h index 227a6fdd5..4b6793612 100644 --- a/src/object.h +++ b/src/object.h @@ -11,6 +11,8 @@ #include "repository.h" +#define GIT_OBJECT_SIZE_MAX UINT64_MAX + extern bool git_object__strict_input_validation; /** Base git object for inheritance */ |