summaryrefslogtreecommitdiff
path: root/sequencer.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-11-11 21:56:30 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-11-11 21:56:30 (GMT)
commit5de732f647609de15f51e98b9c9de07115b58b5c (patch)
treef754240841d1eb80c8bf61bfde79eb73fe2c67a0 /sequencer.c
parentb18f6a00662524443cfb82f5fed7d3b54524c8ab (diff)
parent2ae38f2a65abae910ff7ad62861414d4333d01fc (diff)
downloadgit-5de732f647609de15f51e98b9c9de07115b58b5c.zip
git-5de732f647609de15f51e98b9c9de07115b58b5c.tar.gz
git-5de732f647609de15f51e98b9c9de07115b58b5c.tar.bz2
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
Diffstat (limited to 'sequencer.c')
-rw-r--r--sequencer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c
index 5fd75f3..6f0ff9e 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -629,7 +629,7 @@ static const char *todo_command_strings[] = {
static const char *command_to_string(const enum todo_command command)
{
- if (command < ARRAY_SIZE(todo_command_strings))
+ if ((size_t)command < ARRAY_SIZE(todo_command_strings))
return todo_command_strings[command];
die("Unknown command: %d", command);
}