author | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 17 Jan 2007 05:57:23 +0000 (00:57 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Wed, 17 Jan 2007 06:13:22 +0000 (01:13 -0500) | ||
commit | 6f64f6d9d2b12cdae1648cbf536685c888f3b981 | |
tree | 1bb9393bd6e2452cf0cb39e360ae1481b2633d2c | tree | snapshot |
parent | 2104838bf9b97066f21e4c32efdfa424d41e6b98 | commit | diff |
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>
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 | diff | blob | history |