<div dir="ltr"><div><div><div>I just stumbled across this in src/bif_type.def. My understanding of the internal BRO type system is a bit fuzzy so I&#39;m not 100% sure this is wrong -- and I can&#39;t point to anything that doesn&#39;t work -- but it sure doesn&#39;t *look* right. <br><br>// DEFINE_BIF_TYPE(id, bif_type, bro_type, c_type, accessor, constructor)<br>...<br>DEFINE_BIF_TYPE(TYPE_INT,       &quot;int&quot;, &quot;int&quot;, &quot;bro_int_t&quot;,              &quot;%s-&gt;AsInt()&quot;,          &quot;new Val(%s, TYPE_BOOL)&quot;)<br><br></div>Is there some reason why &quot;new Val(%s, TYPE_BOOL)&quot; is correct for the TYPE_INT constructor here?<br><br></div><div>(This is in master branch but has been like this since the beginning of the git repo.)<br></div>Thanks,<br></div>Jeff<br><br></div>