mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
porting fixes from Justin
This commit is contained in:
parent
22d060d461
commit
bbe5ab39f6
2 changed files with 2 additions and 2 deletions
|
@ -721,7 +721,7 @@ std::string CPPCompile::GenVal(const ValPtr& v)
|
|||
return GenEnum(t, v);
|
||||
|
||||
if ( tag == TYPE_PORT )
|
||||
return Fmt(v->AsCount());
|
||||
return Fmt(int(v->AsCount()));
|
||||
|
||||
if ( it == TYPE_INTERNAL_DOUBLE )
|
||||
return Fmt(v->AsDouble());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue