summaryrefslogtreecommitdiff
path: root/diff-cache.c
diff options
context:
space:
mode:
authorBrian Gerst <bgerst@didntduck.org>2005-05-18 12:14:09 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-18 15:44:23 (GMT)
commitbf0f910d1dd5e5b291ea818f3037e8f8fe8caffc (patch)
tree6da6a42bd7b97ea6ebd79544f4fb16713ac74dc3 /diff-cache.c
parent02481aec2a2cfce7bc47d0d10876be5507f0b7ba (diff)
downloadgit-bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc.zip
git-bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc.tar.gz
git-bf0f910d1dd5e5b291ea818f3037e8f8fe8caffc.tar.bz2
[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 'diff-cache.c')
-rw-r--r--diff-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/diff-cache.c b/diff-cache.c
index eb3c2c1..4cfbcdb 100644
--- a/diff-cache.c
+++ b/diff-cache.c
@@ -63,7 +63,7 @@ static int show_modified(struct cache_entry *old,
{
unsigned int mode, oldmode;
unsigned char *sha1;
- unsigned char old_sha1_hex[60];
+ char old_sha1_hex[60];
if (get_stat_data(new, &sha1, &mode) < 0) {
if (report_missing)