mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +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
|
@ -952,9 +952,9 @@ ZInstI* ZAMCompiler::FirstLiveInst(ZInstI* i, bool follow_gotos)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
int ZAMCompiler::FirstLiveInst(int i, bool follow_gotos)
|
||||
bro_uint_t ZAMCompiler::FirstLiveInst(bro_uint_t i, bool follow_gotos)
|
||||
{
|
||||
int num_inspected = 0;
|
||||
bro_uint_t num_inspected = 0;
|
||||
while ( i < insts1.size() )
|
||||
{
|
||||
auto i0 = insts1[i];
|
||||
|
@ -982,7 +982,7 @@ int ZAMCompiler::FirstLiveInst(int i, bool follow_gotos)
|
|||
return i;
|
||||
}
|
||||
|
||||
void ZAMCompiler::KillInst(int i)
|
||||
void ZAMCompiler::KillInst(bro_uint_t i)
|
||||
{
|
||||
auto inst = insts1[i];
|
||||
|
||||
|
@ -1037,7 +1037,7 @@ void ZAMCompiler::KillInst(int i)
|
|||
}
|
||||
}
|
||||
|
||||
void ZAMCompiler::KillInsts(int i)
|
||||
void ZAMCompiler::KillInsts(bro_uint_t i)
|
||||
{
|
||||
auto inst = insts1[i];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue