add cast from size_t to unsigned to avoid warnings from certain compilers

fix compile regression on some platforms after removing sys/types.h include

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

mercurial