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

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