mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix a signed/unsigned comparison warning
This commit is contained in:
parent
ee4c259cd4
commit
48da8b7d66
1 changed files with 1 additions and 1 deletions
|
@ -1054,7 +1054,7 @@ ValPtr CheckAnyLenStmt::Exec(Frame* f, StmtFlowType& flow) const
|
|||
|
||||
auto& v = e->Eval(f)->AsListVal()->Vals();
|
||||
|
||||
if ( v.size() != expected_len )
|
||||
if ( v.size() != static_cast<size_t>(expected_len) )
|
||||
reporter->ExprRuntimeError(e.get(), "mismatch in list lengths");
|
||||
|
||||
return nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue