diff options
author | Junio C Hamano <junkio@cox.net> | 2006-02-15 12:47:43 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-15 13:03:27 -0800 |
commit | f8f135c9bae74f846a92e1f1f1fea8308802ace5 (patch) | |
tree | 894e221bbf9916cffd2eee87417455f0291f5dd7 /sha1_file.c | |
parent | 6becd7da8786555fbd2aeeb9669d37dc810f2658 (diff) | |
download | git-f8f135c9bae74f846a92e1f1f1fea8308802ace5.tar.gz |
packed objects: minor cleanup
The delta depth is unsigned.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sha1_file.c')
-rw-r--r-- | sha1_file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sha1_file.c b/sha1_file.c index 3d11a9bfdc..64cf245418 100644 --- a/sha1_file.c +++ b/sha1_file.c @@ -830,7 +830,7 @@ void packed_object_info_detail(struct pack_entry *e, char *type, unsigned long *size, unsigned long *store_size, - int *delta_chain_length, + unsigned int *delta_chain_length, unsigned char *base_sha1) { struct packed_git *p = e->p; @@ -844,7 +844,7 @@ void packed_object_info_detail(struct pack_entry *e, if (kind != OBJ_DELTA) *delta_chain_length = 0; else { - int chain_length = 0; + unsigned int chain_length = 0; memcpy(base_sha1, pack, 20); do { struct pack_entry base_ent; |