Fix type of m_openParenCount (#550)

m_openParenCount is always used as unsigned and compared against unsigneds
This commit is contained in:
Michał Janiszewski
2019-06-18 02:10:15 +02:00
committed by Matt Cooley
parent dab589b3e0
commit da9f4ea856
2 changed files with 3 additions and 2 deletions

View File

@@ -373,7 +373,8 @@ void CCalcEngine::ProcessCommandWorker(OpCode wParam)
m_lastVal = 0;
m_bChangeOp = false;
m_precedenceOpCount = m_nTempCom = m_nLastCom = m_nOpCode = m_openParenCount = 0;
m_openParenCount = 0;
m_precedenceOpCount = m_nTempCom = m_nLastCom = m_nOpCode = 0;
m_nPrevOpCode = 0;
m_bNoPrevEqu = true;