mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
GH-1062: fix integer conversion errors related to Tag subtypes
This commit is contained in:
parent
da105b3bf9
commit
7f2aae1721
3 changed files with 3 additions and 4 deletions
|
@ -1254,7 +1254,7 @@ protected:
|
|||
template<class T, class... Ts>
|
||||
friend zeek::IntrusivePtr<T> zeek::make_intrusive(Ts&&... args);
|
||||
|
||||
EnumVal(zeek::EnumTypePtr t, int i) : Val(bro_int_t(i), std::move(t))
|
||||
EnumVal(zeek::EnumTypePtr t, bro_int_t i) : Val(i, std::move(t))
|
||||
{}
|
||||
|
||||
void ValDescribe(ODesc* d) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue