Skip to content

Commit 5de732f

Browse files
committed
Merge branch 'js/prepare-sequencer'
Silence a clang warning introduced by a recently graduated topic. * js/prepare-sequencer: sequencer: silence -Wtautological-constant-out-of-range-compare
2 parents b18f6a0 + 2ae38f2 commit 5de732f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sequencer.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ static const char *todo_command_strings[] = {
629629

630630
static const char *command_to_string(const enum todo_command command)
631631
{
632-
if (command < ARRAY_SIZE(todo_command_strings))
632+
if ((size_t)command < ARRAY_SIZE(todo_command_strings))
633633
return todo_command_strings[command];
634634
die("Unknown command: %d", command);
635635
}

0 commit comments

Comments
 (0)