Changed the data type of a variable to be compatible with Windows.