Skip to content

fix type mismatch between mp_limb_t and uint64_t on aarch64 #354

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

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

Conversation

mars-risc0
Copy link

Fix for issue #351 by declaring vars in fr.hpp and fr.cpp as mp_limb_t instead of uint64_t, since uint64_t is defined as unsigned long long on aarch64, not unsigned long as on other platforms, whereas mp_limb_t is always defined as unsigned long.

@OBrezhniev OBrezhniev requested a review from olomix March 28, 2025 10:31
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.

1 participant