Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make ByteBufferQUICBinaryEncodingStrategyTests compatible with 32-bit systems #2904

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

hamzahrmalik
Copy link
Contributor

This is a followup to #2867

Some of the literals used in the test cases were too big to fit in an Int32
This is fine on 64-bit systems, because the literals are considered as Int, which is Int64 on those systems
However, on 32-bit systems, those literals are considered as Int64

Change: Add as Int64 where needed, to tell the compiler we want these literals to be treated as Int64, which should allow these tests to run on 32 bit systems too

@finagolfin
Copy link
Contributor

Thanks, I can confirm this pull fixed the 32-bit compilation issue for Android armv7.

@hamzahrmalik hamzahrmalik enabled auto-merge (squash) October 7, 2024 07:03
@hamzahrmalik hamzahrmalik merged commit 752abd7 into apple:main Oct 7, 2024
28 of 29 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants