Fixed the debug builds having NDEBUG defined, causing stuff like asserts not working properly

This commit is contained in:
Steve Dudenhoeffer
2008-04-14 19:56:31 +00:00
parent 53ed817183
commit b33d2f559b
3 changed files with 4 additions and 4 deletions

View File

@@ -289,7 +289,7 @@ void Debugger::BeginExec()
{
Tracer *pTracer = new Tracer();
m_pCalls.push_back(pTracer);
assert(m_Top == (m_pCalls.size() - 1));
assert(m_Top == static_cast<int>(m_pCalls.size() - 1));
}
m_pCalls[m_Top]->Reset();