]> git.ipfire.org Git - thirdparty/git.git/commit
pack-redundant: type cleanups.
authorJunio C Hamano <junkio@cox.net>
Thu, 24 Nov 2005 00:08:36 +0000 (16:08 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 24 Nov 2005 00:10:11 +0000 (16:10 -0800)
commitb99a394cd1e7042ad219046a6ea81ad3f93004ca
tree2876abce3d4b4bc684aa1c743ef843a6c7aac72a
parentc61642185d411e5e3350566a68483e358ca392b9
pack-redundant: type cleanups.

Binary representation of object names are unsigned char[20], not
signed.  Also verbose output had %lu format printing size_t
without (unsigned long) cast other places already had, so match
that.  Using format %zu was suggested but might not be supported
as widely.

Noted by Morten Welinder, fixed with input from H. Peter Anvin
and Hideaki Yoshifuji.

Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-redundant.c