fix comparison of signed and unsigned value

(0) -30 -10 -1 +1 tip

mercurial