aboutsummaryrefslogtreecommitdiffstats
path: root/read-cache.c
diff options
context:
space:
mode:
authorBrian Gerst <bgerst@didntduck.org>2005-05-18 08:14:09 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-18 08:44:23 -0700
commitbf0f910d1dd5e5b291ea818f3037e8f8fe8caffc (patch)
tree6da6a42bd7b97ea6ebd79544f4fb16713ac74dc3 /read-cache.c
parent02481aec2a2cfce7bc47d0d10876be5507f0b7ba (diff)
downloadgit-bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc.tar.gz
[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 <bgerst@didntduck.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index 01e84b758b..14ed4fdf65 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -344,7 +344,7 @@ unmap:
}
#define WRITE_BUFFER_SIZE 8192
-static char write_buffer[WRITE_BUFFER_SIZE];
+static unsigned char write_buffer[WRITE_BUFFER_SIZE];
static unsigned long write_buffer_len;
static int ce_write(SHA_CTX *context, int fd, void *data, unsigned int len)