Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pull.c
diff options
context:
space:
mode:
authorMika Kukkonen <mikukkon@miku.homelinux.net>2005-06-22 00:04:33 +0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-22 00:30:55 +0400
commitd565b3412a0242e2c729bd77d18c74ecd57184dc (patch)
tree7fca6cb370ba8a446c51e0368a74d3d94f8bf564 /pull.c
parentdc14841102bb364c2be200e8456146fc8df970b9 (diff)
[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>
Diffstat (limited to 'pull.c')
-rw-r--r--pull.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pull.c b/pull.c
index 395ca45328..e70fc02f3b 100644
--- a/pull.c
+++ b/pull.c
@@ -49,7 +49,7 @@ static int make_sure_we_have_it(const char *what, unsigned char *sha1)
return 0;
if (get_delta) {
- char delta_sha1[20];
+ unsigned char delta_sha1[20];
status = sha1_delta_base(sha1, delta_sha1);
if (0 < status)
status = make_sure_we_have_it(what, delta_sha1);