From d565b3412a0242e2c729bd77d18c74ecd57184dc Mon Sep 17 00:00:00 2001 From: Mika Kukkonen Date: Tue, 21 Jun 2005 23:04:33 +0300 Subject: [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 Signed-off-by: Linus Torvalds --- pull.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pull.c') diff --git a/pull.c b/pull.c index 395ca45328..e70fc02f3b 100644 --- a/pull.c +++ b/pull.c @@ -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); -- cgit v1.3