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
@@ -138,7 +138,7 @@ private:
|
||||
std::wstring m_numberString;
|
||||
|
||||
int m_nTempCom; /* Holding place for the last command. */
|
||||
int m_openParenCount; // Number of open parentheses.
|
||||
size_t m_openParenCount; // Number of open parentheses.
|
||||
std::array<int, MAXPRECDEPTH> m_nOp; /* Holding array for parenthesis operations. */
|
||||
std::array<int, MAXPRECDEPTH> m_nPrecOp; /* Holding array for precedence operations. */
|
||||
size_t m_precedenceOpCount; /* Current number of precedence ops in holding. */
|
||||
|
Reference in New Issue
Block a user