tweaks to address some compiler warnings

This commit is contained in:
Vern Paxson 2021-09-13 19:55:26 -07:00
parent 7f3993ca0e
commit 693fc14eb2
13 changed files with 44 additions and 27 deletions

View file

@ -807,7 +807,7 @@ const ZAMStmt ZAMCompiler::LoopOverTable(const ForStmt* f, const NameExpr* val)
auto aux = new ZInstAux(0);
for ( int i = 0; i < loop_vars->length(); ++i )
for ( auto i = 0U; i < loop_vars->length(); ++i )
{
auto id = (*loop_vars)[i];