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

Fixes decompressor when using -Wshorten-64-to-32 #2062

Merged
merged 1 commit into from
Apr 3, 2020

Conversation

cwoffenden
Copy link
Contributor

Spotted on iOS/Clang when building with the default -Wshorten-64-to-32 (since __builtin_expect returns a long).

Spotted on iOS when building with `-Wshorten-64-to-32` (since `__builtin_expect` returns a `long`).
@Cyan4973 Cyan4973 merged commit 7202184 into facebook:dev Apr 3, 2020
@cwoffenden cwoffenden deleted the minor-shorten-correctness branch April 3, 2020 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants