aboutsummaryrefslogtreecommitdiffstats
path: root/pack-objects.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-03-01 17:42:30 -0800
committerJunio C Hamano <junkio@cox.net>2006-03-01 17:42:30 -0800
commit3bddd7dbba2f178e7fab5916522bf398eb55ffc0 (patch)
tree8db130b214d0f1779eda0f9bdd77f7204abd0063 /pack-objects.c
parentMerge branch 'jc/diff' into next (diff)
parentRe-fix compilation warnings. (diff)
downloadgit-3bddd7dbba2f178e7fab5916522bf398eb55ffc0.tar.gz
git-3bddd7dbba2f178e7fab5916522bf398eb55ffc0.zip
Pull GIT 1.2.4 fixes from master
Diffstat (limited to 'pack-objects.c')
-rw-r--r--pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-objects.c b/pack-objects.c
index 21ee572f48..136a7f5aad 100644
--- a/pack-objects.c
+++ b/pack-objects.c
@@ -99,7 +99,7 @@ static int reused_delta = 0;
static int pack_revindex_ix(struct packed_git *p)
{
- unsigned long ui = (unsigned long)(long)p;
+ unsigned long ui = (unsigned long)p;
int i;
ui = ui ^ (ui >> 16); /* defeat structure alignment */