diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2020-04-05 18:26:52 +0100 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2020-11-27 11:09:20 +0000 |
| commit | 7cd0bf65671a1a486242403aaa0237ed5dec9d2b (patch) | |
| tree | b75ce165cf71ed6d7e15275d30ddd3deb4af7c2b /src/pack.h | |
| parent | 87d378961cc05daeefefdb1023a738249b8c6cf6 (diff) | |
| download | libgit2-7cd0bf65671a1a486242403aaa0237ed5dec9d2b.tar.gz | |
pack: use GIT_ASSERT
Diffstat (limited to 'src/pack.h')
| -rw-r--r-- | src/pack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pack.h b/src/pack.h index cebfcd1bd..544a5d286 100644 --- a/src/pack.h +++ b/src/pack.h @@ -133,7 +133,7 @@ typedef struct git_packfile_stream { git_mwindow *mw; } git_packfile_stream; -size_t git_packfile__object_header(unsigned char *hdr, size_t size, git_object_t type); +int git_packfile__object_header(size_t *out, unsigned char *hdr, size_t size, git_object_t type); int git_packfile__name(char **out, const char *path); |
