Fix type of m_openParenCount (#550)
m_openParenCount is always used as unsigned and compared against unsigneds
This commit is contained in:
committed by
Matt Cooley
parent
dab589b3e0
commit
da9f4ea856
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user