summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-05-28 13:39:51 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-05-28 13:39:51 -0700
commit47e68cd803d9dace40984ea965afb54a72609a91 (patch)
treeb9260a523b01e84cc9e9268c881eb104b25e03b7 /read-cache.c
parentMerge branch 'master' into next (diff)
parentgit-write-tree writes garbage on sparc64 (diff)
downloadtgif-47e68cd803d9dace40984ea965afb54a72609a91.tar.xz
Merge branch 'jc/cache-tree' into next
* jc/cache-tree: git-write-tree writes garbage on sparc64
Diffstat (limited to 'read-cache.c')
-rw-r--r--read-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/read-cache.c b/read-cache.c
index 36bd4ea0be..c499c51856 100644
--- a/read-cache.c
+++ b/read-cache.c
@@ -826,7 +826,7 @@ static int ce_write(SHA_CTX *context, int fd, void *data, unsigned int len)
}
static int write_index_ext_header(SHA_CTX *context, int fd,
- unsigned long ext, unsigned long sz)
+ unsigned int ext, unsigned int sz)
{
ext = htonl(ext);
sz = htonl(sz);