Переглянути джерело

Merge pull request #733 from dgough/next

Fixed a compile error in Gamepad
Sean Paul Taylor 13 роки тому
батько
коміт
3a26ab3d75
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      gameplay/src/Gamepad.cpp

+ 1 - 1
gameplay/src/Gamepad.cpp

@@ -9,7 +9,7 @@ namespace gameplay
 static std::vector<Gamepad*> __gamepads;
 
 Gamepad::Gamepad(const char* formPath)
-    : _handle(INT_MAX), _vendorId(0), _productId(0), _buttonCount(0), _joystickCount(0), _triggerCount(0), _form(NULL), _buttons(0)
+    : _handle((GamepadHandle)INT_MAX), _vendorId(0), _productId(0), _buttonCount(0), _joystickCount(0), _triggerCount(0), _form(NULL), _buttons(0)
 {
     GP_ASSERT(formPath);
     _form = Form::create(formPath);