mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 929466: Cast '0' + known-small-uint32_t to type "char" in comparison within mar.c, to fix sign-compare build warning. r=bbondy
This commit is contained in:
parent
4b9ceed950
commit
cc038cbc31
@ -154,7 +154,7 @@ int main(int argc, char **argv) {
|
||||
with the import and export command line arguments. */
|
||||
else if (argv[1][0] == '-' &&
|
||||
argv[1][1] == 'D' &&
|
||||
(argv[1][2] == '0' + certCount || argv[1][2] == '\0')) {
|
||||
(argv[1][2] == (char)('0' + certCount) || argv[1][2] == '\0')) {
|
||||
if (certCount >= MAX_SIGNATURES) {
|
||||
print_usage();
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user