[PATCH] Fix several gcc4 signedness warnings

Here is a patch that fixes several gcc4 warnings about different signedness,
all between char and unsigned char. I tried to keep the patch minimal
so resertod to casts in three places.

Signed-off-by: Mika Kukkonen <mikukkon@iki.fi>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Mika Kukkonen
2005-06-21 23:04:33 +03:00
committed by Linus Torvalds
parent dc14841102
commit d565b3412a
5 changed files with 12 additions and 12 deletions

2
pull.c
View File

@ -49,7 +49,7 @@ static int make_sure_we_have_it(const char *what, unsigned char *sha1)
return 0;
if (get_delta) {
char delta_sha1[20];
unsigned char delta_sha1[20];
status = sha1_delta_base(sha1, delta_sha1);
if (0 < status)
status = make_sure_we_have_it(what, delta_sha1);