Branimir Karadžić 9 anni fa
parent
commit
b1eb4098ee
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      examples/common/entry/entry_windows.cpp

+ 1 - 1
examples/common/entry/entry_windows.cpp

@@ -144,7 +144,7 @@ namespace entry
 
 
 			WindowHandle defaultWindow = { 0 };
 			WindowHandle defaultWindow = { 0 };
 
 
-			for (uint32_t ii = 0; ii < BX_COUNTOF(m_state); ++ii)
+			for (uint16_t ii = 0; ii < BX_COUNTOF(m_state); ++ii)
 			{
 			{
 				XINPUT_STATE state;
 				XINPUT_STATE state;
 				DWORD result = XInputGetState(ii, &state);
 				DWORD result = XInputGetState(ii, &state);