Changed some types to Windows-friendly ones.