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

fix cx_mempool_free crash if ptr is null

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

mercurial