Fix a signed/unsigned comparison warning

This commit is contained in:
Jon Siwek 2021-01-13 12:31:19 -08:00
parent ee4c259cd4
commit 48da8b7d66

View file

@ -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;