]> git.neil.brown.name Git - LaFS.git/commit
segments: fix array sizes.
authorNeilBrown <neilb@suse.de>
Fri, 18 Jun 2010 11:15:25 +0000 (21:15 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 18 Jun 2010 11:16:56 +0000 (21:16 +1000)
commit6cd79ffdbf6907ab3c096a9b7ca63e49ca8d38da
tree6f63b427f1932f417e9c5a370d6beb57cc88758e
parent869141e1e56115092e110107165d4ff4bc1b0f14
segments: fix array sizes.

Heights range from 0 up, so the array must be sized
one larger than that maximum height.  So defined
SEG_NUM_HEIGHTS instead of SEG_MAX_HEIGHT, and make it one more.

Signed-off-by: NeilBrown <neilb@suse.de>
segments.c
state.h