Use fixed-size integers when writing out the index in fast-import.
commitebea9dd4f1b62cb3c8302f10aaca3af0231e9818
authorShawn O. Pearce <spearce@spearce.org>
Thu, 18 Jan 2007 16:30:17 +0000 (18 11:30 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 18 Jan 2007 16:30:17 +0000 (18 11:30 -0500)
treed40420caaccc4575c5810c3498fa43a55849b4f5
parent566f44252b00003d1f4e7baaaf709d74bf73770f
Use fixed-size integers when writing out the index in fast-import.

Currently the pack .idx file format uses 32-bit unsigned integers
for the fan-out table and the object offsets.  We had previously
defined these as 'unsigned int', but not every system will define
that type to be a 32 bit value.  To ensure maximum portability we
should always use 'uint32_t'.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
fast-import.c
git-compat-util.h