mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Fix a bug in broker data type-casting check
This commit is contained in:
parent
6489b54deb
commit
bd3c16c6d7
1 changed files with 1 additions and 1 deletions
|
@ -1128,7 +1128,7 @@ broker::data& bro_broker::opaque_field_to_data(RecordVal* v, Frame* f)
|
|||
|
||||
bool bro_broker::DataVal::canCastTo(BroType* t) const
|
||||
{
|
||||
return broker::visit(type_checker{type}, data);
|
||||
return broker::visit(type_checker{t}, data);
|
||||
}
|
||||
|
||||
Val* bro_broker::DataVal::castTo(BroType* t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue