add explicit casts to silence warnings

fix compilation for compilers which don't set __WORDSIZE

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

mercurial