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 --- ssh-push.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ssh-push.c') diff --git a/ssh-push.c b/ssh-push.c index 18c0b65d5b..12fb9fccbf 100644 --- a/ssh-push.c +++ b/ssh-push.c @@ -8,7 +8,7 @@ unsigned char remote_version = 0; int serve_object(int fd_in, int fd_out) { ssize_t size; int posn = 0; - char sha1[20]; + unsigned char sha1[20]; unsigned long objsize; void *buf; signed char remote; -- cgit v1.2.3