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

cast parameter to make_pair for macOS #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

peterguy
Copy link

@peterguy peterguy commented Dec 4, 2023

make_pair on macOS can't handle volatile longs, so cast the first parameter to a long.

Change affects the Quick Sort LL sort.

Tested by manually exercising sorts in UI.

Compiled correctly on Linux; did not test by running the UI on Linux.

Did not compile or test on Windows.

Closes #29

`make_pair` on macOS can't handle volatile longs, so cast the first parameter to a long.
@Unbreakable-Syntax
Copy link

Unbreakable-Syntax commented Oct 5, 2024

Hello, I tested out your proposed fix in Windows, and Quick Sort LL still works as usual, I will add this to my fork

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.

Unable to build on macOS 14.0 arm64
2 participants