Fixed another conversion warning in visual studio