Skip to content

hu values #26

Closed Answered by dewenni
kalleick asked this question in Q&A
May 6, 2023 · 3 comments · 5 replies
Discussion options

You must be logged in to vote

ok, its pretty clear that in your setup the 3-sign format specifier (hhi, hhu, llu) are not supported, even if this should be the right ones.
A format specifier %hhi result in printing hi, %hhu result in printing hu and %llu result in printing lu
Also if you use the combination with <inttypes.h> and the generic format specifier it seems that they are replaced with (hhi, hhu, llu) by the compiler that do not work.

I will change the functions to the "basic" format specifier (%u and %i) and hope that this will work for everyone else as well.
For the 64bit value, I will implement a manual way.

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@dewenni
Comment options

@kalleick
Comment options

@dewenni
Comment options

Comment options

You must be logged in to vote
1 reply
@dewenni
Comment options

Comment options

You must be logged in to vote
1 reply
@dewenni
Comment options

Answer selected by dewenni
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants