fix wrong "variant" of zero/NULL/false

add explicit casts to silence warnings

(0) -1000 -300 -100 -30 -10 -2 +2 +10 +30 tip

mercurial