[PATCH] Kill a bunch of pointer sign warnings for gcc4
[gitweb.git] / diff-cache.c
index eb3c2c183a2f786b864b7e867aa54dd2747dddb8..4cfbcdb9ed34ca8790ce3ddbefc7c9548def740f 100644 (file)
@@ -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)