summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/examples/common/entry/entry_windows.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-05-12 08:42:02 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-05-12 08:42:02 +0200
commit2fe208917976a66a315c83672cc2242ffb2ac88a (patch)
tree461cb81c293cd0a429db12a2ffe055a4b9400861 /3rdparty/bgfx/examples/common/entry/entry_windows.cpp
parentf7f6569add35e5588fcdf686af4b4d9ad5396b11 (diff)
Update BGFX, BX, Benchmark and RapidJSON (nw)
Diffstat (limited to '3rdparty/bgfx/examples/common/entry/entry_windows.cpp')
-rw-r--r--3rdparty/bgfx/examples/common/entry/entry_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/bgfx/examples/common/entry/entry_windows.cpp b/3rdparty/bgfx/examples/common/entry/entry_windows.cpp
index 37f403ee480..9d0308e9617 100644
--- a/3rdparty/bgfx/examples/common/entry/entry_windows.cpp
+++ b/3rdparty/bgfx/examples/common/entry/entry_windows.cpp
@@ -823,7 +823,7 @@ namespace entry
WindowHandle findHandle(HWND _hwnd)
{
bx::LwMutexScope scope(m_lock);
- for (uint32_t ii = 0, num = m_windowAlloc.getNumHandles(); ii < num; ++ii)
+ for (uint16_t ii = 0, num = m_windowAlloc.getNumHandles(); ii < num; ++ii)
{
uint16_t idx = m_windowAlloc.getHandleAt(ii);
if (_hwnd == m_hwnd[idx])