Fixed VC++ warnings.

This commit is contained in:
Camilla Berglund
2013-06-12 20:36:43 +02:00
parent 30b6e0c868
commit 3df0b4478b
5 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -131,7 +131,7 @@ const unsigned char* _glfwPlatformGetJoystickButtons(int joy, int* count)
if (_glfw_joyGetPosEx(joy, &ji) != JOYERR_NOERROR)
return NULL;
while (*count < jc.wNumButtons)
while (*count < (int) jc.wNumButtons)
{
buttons[*count] = (unsigned char)
(ji.dwButtons & (1UL << *count) ? GLFW_PRESS : GLFW_RELEASE);