From bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc Mon Sep 17 00:00:00 2001 From: Brian Gerst Date: Wed, 18 May 2005 08:14:09 -0400 Subject: [PATCH] Kill a bunch of pointer sign warnings for gcc4 - Raw hashes should be unsigned char. - String functions want signed char. - Hash and compress functions want unsigned char. Signed-off By: Brian Gerst Signed-off-by: Linus Torvalds --- ls-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ls-tree.c') diff --git a/ls-tree.c b/ls-tree.c index 4231c4b234..a69eac87a8 100644 --- a/ls-tree.c +++ b/ls-tree.c @@ -24,7 +24,7 @@ static void print_path_prefix(struct path_prefix *prefix) } static void list_recursive(void *buffer, - const unsigned char *type, + const char *type, unsigned long size, struct path_prefix *prefix) { -- cgit v1.3-5-g9baa