Fix signed/unsigned error in seek computations.