ZVal constructor for booleans

This commit is contained in:
Vern Paxson 2024-08-05 09:29:36 +01:00 committed by Arne Welzel
parent 88740acffe
commit 3cf3cc3c5e

View file

@ -62,6 +62,7 @@ union ZVal {
ZVal(const TypePtr& t); ZVal(const TypePtr& t);
// Construct directly. // Construct directly.
ZVal(bool v) { int_val = v; }
ZVal(zeek_int_t v) { int_val = v; } ZVal(zeek_int_t v) { int_val = v; }
ZVal(zeek_uint_t v) { uint_val = v; } ZVal(zeek_uint_t v) { uint_val = v; }
ZVal(double v) { double_val = v; } ZVal(double v) { double_val = v; }