diff options
author | Luck, Tony <tony.luck@intel.com> | 2006-02-23 14:42:39 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-02-24 22:17:20 -0800 |
commit | 8fcf1ad9c68e15d881194c8544e7c11d33529c2b (patch) | |
tree | 7ceabd5a061bc5844b9c9b8eb3a7d2426751283a /entry.c | |
parent | Merge branches 'jc/rev-list' and 'jc/pack-thin' (diff) | |
download | tgif-8fcf1ad9c68e15d881194c8544e7c11d33529c2b.tar.xz |
fix warning from pack-objects.c
When compiling on ia64 I get this warning (from gcc 3.4.3):
gcc -o pack-objects.o -c -g -O2 -Wall -DSHA1_HEADER='<openssl/sha.h>' pack-objects.c
pack-objects.c: In function `pack_revindex_ix':
pack-objects.c:94: warning: cast from pointer to integer of different size
A double cast (first to long, then to int) shuts gcc up, but is there
a better way?
[jc: Andreas Ericsson suggests to use ulong instead. ]
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'entry.c')
0 files changed, 0 insertions, 0 deletions