fix comparison of signed and unsigned value

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

mercurial