mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 04:58:21 +00:00
tweaks to address some compiler warnings
This commit is contained in:
parent
7f3993ca0e
commit
693fc14eb2
13 changed files with 44 additions and 27 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue