fix a possible type casting error
fix a possible type casting error

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