AMG: Fixed more VS 2013 conversion warnings including a bug introduced by previous commit.
Visual Studio 2013: Fixed various minor conversion warnings.