fix wartings for 32bit build