mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 02:58:20 +00:00
Fix various compiler/linter warnings in script_opt/CPP code
This commit is contained in:
parent
e200016200
commit
3e85375010
15 changed files with 43 additions and 41 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
%%{ // C segment
|
||||
|
||||
#include <cinttypes>
|
||||
#
|
||||
#include "zeek/Reporter.h"
|
||||
#include "zeek/script_opt/ScriptOpt.h"
|
||||
#include "zeek/script_opt/CPP/Func.h"
|
||||
|
@ -22,7 +24,7 @@ function load_CPP%(h: count%): bool
|
|||
|
||||
if ( cb == detail::standalone_callbacks.end() )
|
||||
{
|
||||
reporter->Error("load of non-existing C++ code (%llu)", h);
|
||||
reporter->Error("load of non-existing C++ code (%" PRIu64 ")", h);
|
||||
return zeek::val_mgr->False();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue