summaryrefslogtreecommitdiff
path: root/src/odb.h
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2015-05-13 12:11:55 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2015-05-13 12:11:55 -0400
commita6f2ceaf48ae7bb5ca125129adc9017c67979abf (patch)
treec244642408368fcfd7b6c57c1864c9da84d8acaa /src/odb.h
parent3e529e9d2dd2ae90d43612b9906f16c812101033 (diff)
parent77b339f7b6c7e167ecaf9374eb6876b498d8cb83 (diff)
downloadlibgit2-a6f2ceaf48ae7bb5ca125129adc9017c67979abf.tar.gz
Merge pull request #3118 from libgit2/cmn/stream-size
odb: make the writestream's size a git_off_t
Diffstat (limited to 'src/odb.h')
-rw-r--r--src/odb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odb.h b/src/odb.h
index 61dd9a7fd..281bd3a4d 100644
--- a/src/odb.h
+++ b/src/odb.h
@@ -49,7 +49,7 @@ int git_odb__hashobj(git_oid *id, git_rawobj *obj);
/*
* Format the object header such as it would appear in the on-disk object
*/
-int git_odb__format_object_header(char *hdr, size_t n, size_t obj_len, git_otype obj_type);
+int git_odb__format_object_header(char *hdr, size_t n, git_off_t obj_len, git_otype obj_type);
/*
* Hash an open file descriptor.
* This is a performance call when the contents of a fd need to be hashed,