Fixed two visual studio warnings