🔧 build(enable cppcheck on build): eliminate cppcheck error

This commit is contained in:
yangwei
2024-08-07 13:07:00 +08:00
committed by luwenpeng
parent 526171618f
commit f1b3928c70
6 changed files with 42 additions and 13 deletions

View File

@@ -51,7 +51,7 @@ struct session_manager_options opts = {
static void hex_dump(const char *payload, uint32_t len)
{
printf("Payload Length: %d\n", len);
printf("Payload Length: %u\n", len);
for (uint32_t i = 0; i < len; i++)
{
if (i > 0 && i % 16 == 0)