Skip to content

fix: TEST_PRINTF(): printing 64-bit hex numbers or pointers#694

Merged
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
cmachida:master
Sep 15, 2023
Merged

fix: TEST_PRINTF(): printing 64-bit hex numbers or pointers#694
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
cmachida:master

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
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