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 /include/git2/diff.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 'include/git2/diff.h')
| -rw-r--r-- | include/git2/diff.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/git2/diff.h b/include/git2/diff.h index 73c5e55b9..490b40605 100644 --- a/include/git2/diff.h +++ b/include/git2/diff.h @@ -258,12 +258,12 @@ typedef enum { * abbreviated to something reasonable, like 7 characters. */ typedef struct { - git_oid id; - const char *path; - git_off_t size; - uint32_t flags; - uint16_t mode; - uint16_t id_abbrev; + git_oid id; + const char *path; + git_object_size_t size; + uint32_t flags; + uint16_t mode; + uint16_t id_abbrev; } git_diff_file; /** |
