projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3299c6f
)
sha1_file.c::add_packed_git(): fix type mismatch.
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>
sha1_file.c
patch
|
blob
|
history
diff --git
a/sha1_file.c
b/sha1_file.c
index
cd814d7
..
82a0188
100644
(file)
--- a/
sha1_file.c
+++ b/
sha1_file.c
@@
-424,7
+424,7
@@
struct packed_git *add_packed_git(char *path, int path_len, int local)
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;