summaryrefslogtreecommitdiff
path: root/src/pack.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-11-01 16:31:02 +0100
committerVicent Marti <tanoku@gmail.com>2013-11-01 17:36:09 +0100
commit51a3dfb5958e11acf3294e8f740c3ebd777c48a9 (patch)
tree33799279d9af84d165c9baf4b84a184de47c81a5 /src/pack.h
parent3343b5ffd37d25fa9f55c23c417cf761a7849e9f (diff)
downloadlibgit2-51a3dfb5958e11acf3294e8f740c3ebd777c48a9.tar.gz
pack: `__object_header` always returns unsigned values
Diffstat (limited to 'src/pack.h')
-rw-r--r--src/pack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.h b/src/pack.h
index baad361f8..28146ab30 100644
--- a/src/pack.h
+++ b/src/pack.h
@@ -112,7 +112,7 @@ typedef struct git_packfile_stream {
git_mwindow *mw;
} git_packfile_stream;
-int git_packfile__object_header(unsigned char *hdr, size_t size, git_otype type);
+size_t git_packfile__object_header(unsigned char *hdr, size_t size, git_otype type);
int git_packfile_unpack_header(
size_t *size_p,