diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-11-11 13:56:30 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-11 13:56:30 -0800 |
commit | 5de732f647609de15f51e98b9c9de07115b58b5c (patch) | |
tree | f754240841d1eb80c8bf61bfde79eb73fe2c67a0 | |
parent | b18f6a00662524443cfb82f5fed7d3b54524c8ab (diff) | |
parent | 2ae38f2a65abae910ff7ad62861414d4333d01fc (diff) | |
download | git-5de732f647609de15f51e98b9c9de07115b58b5c.tar.gz git-5de732f647609de15f51e98b9c9de07115b58b5c.tar.xz |
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
-rw-r--r-- | sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sequencer.c b/sequencer.c index 5fd75f30d..6f0ff9e41 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); } |