fix 32bit and 64bit long int.