fix test w/ signed issues

This commit is contained in:
Derek Gottfrid
2022-07-03 16:33:22 -04:00
parent 5de5120497
commit 3f62ab069c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -98,7 +98,7 @@ private:
void advance(unsigned n = 1)
{
solAssert(m_char != m_source.end(), "Cannot advance beyond end.");
m_char = std::next(m_char, n);
m_char = std::next(m_char, static_cast<int>(n));
}
/// Returns the current character or '\0' if at end of input.