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

@@ -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. */