Skip to content

Commit e4a82f3

Browse files
fix pvs warning
1 parent f88d8a5 commit e4a82f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

applications/services/cli/shell/cli_shell.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ static void cli_shell_process_key(CliShell* cli_shell, CliKeyCombo key_combo) {
283283
cli_shell->cli,
284284
CliShellCompletionsActionClose);
285285
cli_shell->line.line_position = 0;
286-
printf(ANSI_CURSOR_HOR_POS("%d"), cli_shell_line_prompt_length(&cli_shell->line) + 1);
286+
printf(ANSI_CURSOR_HOR_POS("%zu"), cli_shell_line_prompt_length(&cli_shell->line) + 1);
287287
fflush(stdout);
288288

289289
} else if(key_combo.modifiers == 0 && key_combo.key == CliKeyEnd) {

0 commit comments

Comments
 (0)