Fixed warnings on VC++.

This commit is contained in:
Camilla Berglund
2013-01-06 21:02:57 +01:00
parent c3da8e417f
commit f0f4af4287
8 changed files with 28 additions and 9 deletions

View File

@@ -228,7 +228,7 @@ void _glfwDestroyMonitors(void)
const GLFWvidmode* _glfwChooseVideoMode(_GLFWmonitor* monitor,
const GLFWvidmode* desired)
{
unsigned int i;
int i;
unsigned int sizeDiff, leastSizeDiff = UINT_MAX;
unsigned int colorDiff, leastColorDiff = UINT_MAX;
const GLFWvidmode* current;