author | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 18 Jan 2007 16:30:17 +0000 (11:30 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Thu, 18 Jan 2007 16:30:17 +0000 (11:30 -0500) | ||
commit | ebea9dd4f1b62cb3c8302f10aaca3af0231e9818 | |
tree | d40420caaccc4575c5810c3498fa43a55849b4f5 | tree | snapshot |
parent | 566f44252b00003d1f4e7baaaf709d74bf73770f | commit | diff |
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>
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 | diff | blob | history | |
git-compat-util.h | diff | blob | history |