Fixed warnings for 32 bit builds