Fix -Wsign-compare warnings in Debug{Cmds}.cc

This commit is contained in:
Jon Siwek 2021-04-28 13:09:30 -07:00
parent ca873cdcb4
commit 333957df22
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
4.1.0-dev.549 | 2021-04-28 13:09:30 -0700
* Fix -Wsign-compare warnings in Debug{Cmds}.cc (Jon Siwek, Corelight)
4.1.0-dev.547 | 2021-04-28 09:27:15 -0700
* GH-1528: Remove broken Queue/PQueue class, replace with std::deque (Tim Wojtulewicz, Corelight)

View file

@ -1 +1 @@
4.1.0-dev.547
4.1.0-dev.549

View file

@ -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);