зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
4b9ceed950
Коммит
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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче