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

@ -1186,7 +1186,7 @@ const ZAMStmt ZAMCompiler::RecordCoerce(const NameExpr* n, const Expr* e)
z.aux = new ZInstAux(map_size);
z.aux->map = map;
for ( auto i = 0; i < map_size; ++i )
for ( auto i = 0U; i < map_size; ++i )
z.aux->Add(i, map[i], nullptr);
// Mark the integer entries in z.aux as not being frame slots as usual.