Fixed a bug when running on 32-bit system
modify a compile warn on 32-bit system