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: TEST_PRINTF(): printing 64-bit hex numbers or pointers #694

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

cmachida
Copy link
Contributor

@cmachida cmachida commented Aug 25, 2023

Hi there,

Thank you for the Unity project!!

We have a UNITY_SUPPORT_64 system and noticed that %llu works fine, but %llx and %p still print out 32 bits.
Can this patch be applied, or something better be applied to address this issue?

Thanks,
Curtis Machida

References:
https://github.com/ThrowTheSwitch/Unity/blob/master/docs/UnityConfigurationGuide.md
#693

@paulopacitti
Copy link

Also facing this issue, checked the code, seems fine to me 👍

@mvandervoord
Copy link
Member

Thanks @cmachida for the work... and thanks for the validation @paulopacitti !

@mvandervoord mvandervoord merged commit 2775e1b into ThrowTheSwitch:master Sep 15, 2023
1 check passed
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