diff --git a/test/testtokenize.cpp b/test/testtokenize.cpp index 86ca4d1eb..181c2dcf3 100644 --- a/test/testtokenize.cpp +++ b/test/testtokenize.cpp @@ -100,7 +100,7 @@ private: { if (tok->linenr() != tok->next()->linenr()) { - for (int i = tok->linenr();i < tok->next()->linenr();++i) + for (unsigned int i = tok->linenr();i < tok->next()->linenr();++i) ostr << "\n"; } else