Use right data type to avoid Visual Studio's warning message.