Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Use 'unsigned short' for mode, like diff_filespec does
[gitweb.git]
/
builtin
/
update-index.c
diff --git
a/builtin/update-index.c
b/builtin/update-index.c
index 1b6c42f748fd52ece4cf5f109f92a50bc2a87be3..0baf51c3169ab2237217b7a4d65de1f9f1cd6b8b 100644
(file)
--- a/
builtin/update-index.c
+++ b/
builtin/update-index.c
@@
-597,7
+597,7
@@
static struct cache_entry *read_one_ent(const char *which,
struct object_id *ent, const char *path,
int namelen, int stage)
{
- unsigned mode;
+ unsigned
short
mode;
struct object_id oid;
struct cache_entry *ce;