[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>
This commit is contained in:
Brian Gerst
2005-05-18 08:14:09 -04:00
committed by Linus Torvalds
parent 02481aec2a
commit bf0f910d1d
10 changed files with 23 additions and 23 deletions

View File

@@ -6,7 +6,7 @@
void service(int fd_in, int fd_out) {
ssize_t size;
int posn;
char sha1[20];
char unsigned sha1[20];
unsigned long objsize;
void *buf;
do {