fix data type cast errors
fix data type cast errors

xieguigang/spectrum,xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits,xieguigang/MassSpectrum-toolkits,xieguigang/spectrum