Skip to content

Printf Long Support - issue in uli2a #261

Open
@shackiey

Description

@shackiey

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions