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

Printf Long Support - issue in uli2a #261

Open
shackiey opened this issue Oct 28, 2023 · 0 comments
Open

Printf Long Support - issue in uli2a #261

shackiey opened this issue Oct 28, 2023 · 0 comments

Comments

@shackiey
Copy link

With PRINTF_LONG_SUPPORT defined, if I use a printf format of %lx, I get nothing printed; where as if I use %x, I get a 32 bit value printed (as expected).
There is a defect in uli2a with "unsigned int d=1". d should be defined as "unsigned long d=1" as it needs to be as "long" as the "long" input parameter.

I would fix, but this needs fixing in all lessons.
Cheers
Dave

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

No branches or pull requests

1 participant