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

fix for macos usize / u64 type mismatches #140

Merged
merged 5 commits into from
Oct 17, 2022
Merged

Conversation

ccbrown
Copy link
Contributor

@ccbrown ccbrown commented Oct 17, 2022

CI started failing due to a change in bindgen's default behavior:

https://github.com/sportsball-ai/av-rs/actions/runs/3266023301/jobs/5369153804

rust-lang/rust-bindgen#1671

This fixes things by explicitly calling size_t_is_usize(true) and using usize for widths and heights.

@ccbrown ccbrown changed the title fix for macos pixelbuffer dimension types fix for macos usize / u64 type mismatches Oct 17, 2022
@ccbrown ccbrown marked this pull request as ready for review October 17, 2022 17:51
@ccbrown ccbrown merged commit 666f44c into main Oct 17, 2022
@ccbrown ccbrown deleted the macos-pixelbuffer-type-fix branch October 17, 2022 18:20
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

Successfully merging this pull request may close these issues.

3 participants