author | Junio C Hamano <junkio@cox.net> | |
Thu, 24 Nov 2005 00:08:36 +0000 (16:08 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 24 Nov 2005 00:10:11 +0000 (16:10 -0800) | ||
commit | b99a394cd1e7042ad219046a6ea81ad3f93004ca | |
tree | 2876abce3d4b4bc684aa1c743ef843a6c7aac72a | tree | snapshot |
parent | c61642185d411e5e3350566a68483e358ca392b9 | commit | diff |
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>
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 | diff | blob | history |