mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Fix -Wsign-compare warnings in Debug{Cmds}.cc
This commit is contained in:
parent
ca873cdcb4
commit
333957df22
3 changed files with 7 additions and 2 deletions
|
@ -49,7 +49,7 @@ extern DebugCmdInfoQueue g_DebugCmdInfos;
|
|||
|
||||
void init_global_dbg_constants ();
|
||||
|
||||
#define num_debug_cmds() (g_DebugCmdInfos.size())
|
||||
#define num_debug_cmds() (static_cast<int>(g_DebugCmdInfos.size()))
|
||||
|
||||
// Looks up the info record and returns it; if cmd is not found returns 0.
|
||||
const DebugCmdInfo* get_debug_cmd_info(DebugCmd cmd);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue