summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3299c6f)
raw | patch | inline | side by side (parent: 3299c6f)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 15 Nov 2005 20:51:02 +0000 (12:51 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 15 Nov 2005 23:08:28 +0000 (15:08 -0800) |
An object name is 20-byte 'unsigned char', not 'char'.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c | patch | blob | history |
diff --git a/sha1_file.c b/sha1_file.c
index cd814d7233028952f14c149e330a36a5a0b517f3..82a01887c261676eb39fe72b108bfa56041d71f5 100644 (file)
--- a/sha1_file.c
+++ b/sha1_file.c
struct packed_git *p;
unsigned long idx_size;
void *idx_map;
- char sha1[20];
+ unsigned char sha1[20];
if (check_packed_git_idx(path, &idx_size, &idx_map))
return NULL;