[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 <mikukkon@iki.fi> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
dc14841102
commit
d565b3412a
@ -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;
|
||||
|
Reference in New Issue
Block a user