Clang warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2017-01-25 19:48:38 +02:00
parent c3aea4e7dc
commit 40fce2dafa

View File

@ -221,7 +221,7 @@ QmuParserTokenReader::token_type QmuParserTokenReader::ReadNextToken(const QLoca
token_type tok;
// Ignore all non printable characters when reading the expression
while ( m_strFormula.data()[m_iPos] > 0 && m_strFormula.data()[m_iPos] <= 0x20 )
while (m_strFormula.at(m_iPos) > QChar() && m_strFormula.at(m_iPos) <= QChar(0x20))
{
++m_iPos;
}