Fix (and test) more Clang 14 compiler warnings

-Woverlength-strings, -Wshift-negative-value, -Wsign-compare
This commit is contained in:
DRC
2024-03-08 12:09:23 -05:00
parent 905ec0fa01
commit dfde1f857d
9 changed files with 21 additions and 13 deletions

View File

@@ -361,7 +361,8 @@ parse_switches(j_compress_ptr cinfo, int argc, char **argv,
if (!printed_version) {
fprintf(stderr, "%s version %s (build %s)\n",
PACKAGE_NAME, VERSION, BUILD);
fprintf(stderr, "%s\n\n", JCOPYRIGHT);
fprintf(stderr, JCOPYRIGHT1);
fprintf(stderr, JCOPYRIGHT2 "\n");
fprintf(stderr, "Emulating The Independent JPEG Group's software, version %s\n\n",
JVERSION);
printed_version = TRUE;