summaryrefslogtreecommitdiff
path: root/include/git2/sys/odb_backend.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2019-06-23 16:42:14 +0100
committerEdward Thomson <ethomson@edwardthomson.com>2019-11-22 15:14:13 +1100
commitfefefd1d39420095631987e503402f8ee6956163 (patch)
tree22d433415e3d325f5fe5763cc3ee215741291fba /include/git2/sys/odb_backend.h
parentfb2198db6b48ce3c5e3cecaa03ecb179c5a02382 (diff)
downloadlibgit2-fefefd1d39420095631987e503402f8ee6956163.tar.gz
odb: 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/sys/odb_backend.h')
-rw-r--r--include/git2/sys/odb_backend.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/sys/odb_backend.h b/include/git2/sys/odb_backend.h
index 6614dcf30..4dba460af 100644
--- a/include/git2/sys/odb_backend.h
+++ b/include/git2/sys/odb_backend.h
@@ -53,7 +53,7 @@ struct git_odb_backend {
git_odb_backend *, const git_oid *, const void *, size_t, git_object_t);
int GIT_CALLBACK(writestream)(
- git_odb_stream **, git_odb_backend *, git_off_t, git_object_t);
+ git_odb_stream **, git_odb_backend *, git_object_size_t, git_object_t);
int GIT_CALLBACK(readstream)(
git_odb_stream **, size_t *, git_object_t *,