зеркало из https://github.com/mozilla/pjs.git
fix casting warning and quiet useless runtime noise on success
This commit is contained in:
Родитель
e162203173
Коммит
ee7fe8a1f2
|
@ -402,7 +402,7 @@ main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
header = XPT_NewHeader(trueNumberOfInterfaces);
|
||||
header = XPT_NewHeader((PRUint16)trueNumberOfInterfaces);
|
||||
header->annotations = first_ann;
|
||||
for (i=0; i<trueNumberOfInterfaces; i++) {
|
||||
if (!copy_IDE(&IDE_array[i], &header->interface_directory[i])) {
|
||||
|
@ -444,7 +444,7 @@ main(int argc, char **argv)
|
|||
if (ferror(out) != 0 || fclose(out) != 0) {
|
||||
fprintf(stderr, "Error writing file: %s\n", argv[1]);
|
||||
} else {
|
||||
fprintf(stderr, "File written: %s\n", argv[1]);
|
||||
/* fprintf(stderr, "File written: %s\n", argv[1]); */
|
||||
}
|
||||
|
||||
if (state)
|
||||
|
|
|
@ -402,7 +402,7 @@ main(int argc, char **argv)
|
|||
}
|
||||
}
|
||||
|
||||
header = XPT_NewHeader(trueNumberOfInterfaces);
|
||||
header = XPT_NewHeader((PRUint16)trueNumberOfInterfaces);
|
||||
header->annotations = first_ann;
|
||||
for (i=0; i<trueNumberOfInterfaces; i++) {
|
||||
if (!copy_IDE(&IDE_array[i], &header->interface_directory[i])) {
|
||||
|
@ -444,7 +444,7 @@ main(int argc, char **argv)
|
|||
if (ferror(out) != 0 || fclose(out) != 0) {
|
||||
fprintf(stderr, "Error writing file: %s\n", argv[1]);
|
||||
} else {
|
||||
fprintf(stderr, "File written: %s\n", argv[1]);
|
||||
/* fprintf(stderr, "File written: %s\n", argv[1]); */
|
||||
}
|
||||
|
||||
if (state)
|
||||
|
|
Загрузка…
Ссылка в новой задаче