code improvements that avoid warnings on higher warning levels

remove unnecessary casts

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

mercurial