Fix pack-index issue on 64-bit platforms a bit more portably.v1.3.3
commit1b9bc5a7b7434d771726011613a00cb202bd9f44
authorJunio C Hamano <junkio@cox.net>
Mon, 15 May 2006 19:52:00 +0000 (15 12:52 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 15 May 2006 20:01:37 +0000 (15 13:01 -0700)
tree52b810b4963ce4c079df9c70dafd9523276f7618
parentf3dd5eae58cf3d0d944604af4c71a7043d5368fd
Fix pack-index issue on 64-bit platforms a bit more portably.

Apparently <stdint.h> is not enough for uint32_t on OpenBSD; use
"unsigned int" -- hopefully that would stay 32-bit on every
platform we care about, at least until we update the pack-index
file format.

Our sha1 routines optimized for architectures use uint32_t and
expects '#include <stdint.h>' to be enough, so OpenBSD on arm or
ppc might have similar issues down the road, I dunno.

Signed-off-by: Junio C Hamano <junkio@cox.net>
pack-objects.c
sha1_file.c