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

Format specifier is incorrect #535

Open
yurivict opened this issue Jun 9, 2019 · 0 comments
Open

Format specifier is incorrect #535

yurivict opened this issue Jun 9, 2019 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Jun 9, 2019

clang-8 complains:

viewflif.c:168:94: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat]
    sprintf(title,"FLIF image decoded at %ux%u [read %" PRId64 " bytes, quality=%.2f%%]",w,h,(long long int) bytes_read, 0.01*quality);
                                                     ~~~~~~~~~                               ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant