mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Use properly-sized loop variables or convert to ranged-for (bugprone-too-small-loop-variable)
This commit is contained in:
parent
94c4c85e82
commit
1248411a2f
22 changed files with 89 additions and 95 deletions
|
@ -67,7 +67,7 @@ zeek::VectorVal* BroSubstring::VecToPolicy(Vec* vec)
|
|||
|
||||
if ( vec )
|
||||
{
|
||||
for ( unsigned int i = 0; i < vec->size(); ++i )
|
||||
for ( size_t i = 0; i < vec->size(); ++i )
|
||||
{
|
||||
BroSubstring* bst = (*vec)[i];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue