Remove the const int, and fix another warning.

This commit is contained in:
The Dax 2014-06-01 18:32:14 -04:00
parent 9672701743
commit 58411136ee
2 changed files with 1 additions and 3 deletions

View file

@ -87,7 +87,7 @@ WindowsHost::WindowsHost(HWND mainWindow) {
//add first XInput device to respond
input.push_back(std::shared_ptr<InputDevice>(new XinputDevice()));
//find all connected DInput devices of class GamePad
int numDInputDevs = DinputDevice::getNumPads();
size_t numDInputDevs = DinputDevice::getNumPads();
for (int i = 0; i < numDInputDevs; i++)
{
input.push_back(std::shared_ptr<InputDevice>(new DinputDevice(i)));