Fix C warnings on 32-bit Darwin build