author | Junio C Hamano <junkio@cox.net> | |
Mon, 15 May 2006 19:52:00 +0000 (12:52 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 15 May 2006 20:01:37 +0000 (13:01 -0700) | ||
commit | 1b9bc5a7b7434d771726011613a00cb202bd9f44 | |
tree | 52b810b4963ce4c079df9c70dafd9523276f7618 | tree | snapshot |
parent | f3dd5eae58cf3d0d944604af4c71a7043d5368fd | commit | diff |
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>
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 | diff | blob | history | |
sha1_file.c | diff | blob | history |