Visual Studio 2013: Fixed a bunch of conversion warnings.