Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use %d instead of %u for signed int. #71

Merged
merged 1 commit into from
Dec 23, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Use %d instead of %u for signed int.
  • Loading branch information
Quipyowert2 committed Dec 17, 2019
commit acc3c23793b6957e038a69ff384a674d3cb633d0
4 changes: 2 additions & 2 deletions jpegoptim.c
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,10 @@ int main(int argc, char **argv)
if (all_progressive)
fprintf(stderr,"All output files will be progressive\n");
if (target_size > 0)
fprintf(stderr,"Target size for output files set to: %u Kbytes.\n",
fprintf(stderr,"Target size for output files set to: %d Kbytes.\n",
target_size);
if (target_size < 0)
fprintf(stderr,"Target size for output files set to: %u%%\n",
fprintf(stderr,"Target size for output files set to: %d%%\n",
-target_size);
}

Expand Down