]> git.ipfire.org Git - thirdparty/git.git/commit - fast-import.c
Correct a few types to be unsigned in fast-import.
authorShawn O. Pearce <spearce@spearce.org>
Wed, 17 Jan 2007 05:57:23 +0000 (00:57 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 17 Jan 2007 06:13:22 +0000 (01:13 -0500)
commit6f64f6d9d2b12cdae1648cbf536685c888f3b981
tree1bb9393bd6e2452cf0cb39e360ae1481b2633d2c
parent2104838bf9b97066f21e4c32efdfa424d41e6b98
Correct a few types to be unsigned in fast-import.

The length of an atom string cannot be negative.  So make it
explicit and declare it as an unsigned value.

The shift width in a mark table node also cannot be negative.
I'm also moving it to after the pointer arrays to prevent any
possible alignment problems on a 64 bit system.

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