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

AVIF_BUILD_APPS fails to build on 32-bit architectures due to -Werror #126

Closed
jbeich opened this issue Apr 17, 2020 · 1 comment
Closed

Comments

@jbeich
Copy link
Contributor

jbeich commented Apr 17, 2020

Regressed by 21bc4df. See error logs: i386, armv7.

apps/avifdump.c:66:24: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]
                       decoder->timescale,
                       ^~~~~~~~~~~~~~~~~~
apps/avifdump.c:68:24: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]
                       decoder->durationInTimescales,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apps/avifdump.c:77:20: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]
                   decoder->imageTiming.ptsInTimescales,
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
apps/avifdump.c:79:20: error: format specifies type 'size_t' (aka 'unsigned int') but the argument has type 'uint64_t' (aka 'unsigned long long') [-Werror,-Wformat]
                   decoder->imageTiming.durationInTimescales);
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@joedrago
Copy link
Collaborator

Shoot, good catch. I need to add a 32bit build to my CIs.

I've fixed it here:

22c57ea

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

2 participants