Changed ushort into int