Skip to content

Commit

Permalink
fix printf of unsigned
Browse files Browse the repository at this point in the history
  • Loading branch information
jimis authored Sep 18, 2023
1 parent d26db98 commit 3e7ce75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gphoto2/actions.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ print_file_action (GPParams *p, const char *folder, const char *filename)
(info.file.permissions & GP_FILE_PERM_DELETE) ? "d" : "-");
}
if (info.file.fields & GP_FILE_INFO_SIZE)
printf(" FILESIZE=%lld", (unsigned long long int)info.file.size);
printf(" FILESIZE=%llu", (unsigned long long int)info.file.size);
if ((info.file.fields & GP_FILE_INFO_WIDTH) && +
(info.file.fields & GP_FILE_INFO_HEIGHT)) {
printf(" IMGWIDTH=%d", info.file.width);
Expand Down

0 comments on commit 3e7ce75

Please sign in to comment.