diff --git a/examples/common/entry/input.cpp b/examples/common/entry/input.cpp index bb9925990..5e67f23c1 100644 --- a/examples/common/entry/input.cpp +++ b/examples/common/entry/input.cpp @@ -72,7 +72,7 @@ struct Mouse struct Keyboard { Keyboard() - : m_ring(BX_COUNTOF(m_char) ) + : m_ring(BX_COUNTOF(m_char)-4) { }