mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Fix build warnings, clarify broker requirements, update submodule.
This commit is contained in:
parent
9e53722b57
commit
2f626fa602
4 changed files with 5 additions and 5 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 98da283ba2bc4dc20e67830395299defc21724db
|
Subproject commit 694af9d9edd188a461cc762bfdb7b61688b93ada
|
|
@ -11,8 +11,8 @@ Broker-Enabled Communication Framework
|
||||||
<../components/broker/README.html>`_ to exchange information with
|
<../components/broker/README.html>`_ to exchange information with
|
||||||
other Bro processes. To enable it run Bro's ``configure`` script
|
other Bro processes. To enable it run Bro's ``configure`` script
|
||||||
with the ``--enable-broker`` option. Note that a C++11 compatible
|
with the ``--enable-broker`` option. Note that a C++11 compatible
|
||||||
compiler is required as well as the `C++ Actor Framework
|
compiler (e.g. GCC 4.8+ or Clang 3.3+) is required as well as the
|
||||||
<http://actor-framework.org/>`_.
|
`C++ Actor Framework <http://actor-framework.org/>`_.
|
||||||
|
|
||||||
.. contents::
|
.. contents::
|
||||||
|
|
||||||
|
|
|
@ -319,7 +319,7 @@ struct val_converter {
|
||||||
auto rt = type->AsRecordType();
|
auto rt = type->AsRecordType();
|
||||||
auto rval = new RecordVal(rt);
|
auto rval = new RecordVal(rt);
|
||||||
|
|
||||||
for ( auto i = 0; i < rt->NumFields(); ++i )
|
for ( auto i = 0u; i < static_cast<size_t>(rt->NumFields()); ++i )
|
||||||
{
|
{
|
||||||
if ( require_log_attr && ! rt->FieldDecl(i)->FindAttr(ATTR_LOG) )
|
if ( require_log_attr && ! rt->FieldDecl(i)->FindAttr(ATTR_LOG) )
|
||||||
continue;
|
continue;
|
||||||
|
|
|
@ -210,7 +210,7 @@ bool bro_broker::Manager::Log(EnumVal* stream, RecordVal* columns, RecordType* i
|
||||||
|
|
||||||
broker::record column_data;
|
broker::record column_data;
|
||||||
|
|
||||||
for ( auto i = 0u; i < info->NumFields(); ++i )
|
for ( auto i = 0u; i < static_cast<size_t>(info->NumFields()); ++i )
|
||||||
{
|
{
|
||||||
if ( ! info->FieldDecl(i)->FindAttr(ATTR_LOG) )
|
if ( ! info->FieldDecl(i)->FindAttr(ATTR_LOG) )
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue