mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
porting fixes from Justin
This commit is contained in:
parent
22d060d461
commit
bbe5ab39f6
2 changed files with 2 additions and 2 deletions
|
@ -267,7 +267,7 @@ void CPPCompile::GenSwitchStmt(const SwitchStmt* sw)
|
|||
if ( is_int )
|
||||
c_v_rep = Fmt(int(c_v->AsInt()));
|
||||
else if ( is_uint )
|
||||
c_v_rep = Fmt(c_v->AsCount());
|
||||
c_v_rep = Fmt(p_hash_type(c_v->AsCount()));
|
||||
else
|
||||
c_v_rep = Fmt(p_hash(c_v));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue