[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTEMS printk fails for large unsigned integers



On 11/27/2009 04:27 PM, Joris van Rantwijk wrote:
> Hello,
>
> I noticed that printk("%u", x) prints "0" for values of x larger than
> LONG_MAX.
> Same for %x and %p.

Which target/BSP? printk is target/BSP specific.

Furthermore, printing variable greater LONG_MAX with "%u" formating is 
invalid/non-portable code.

Ralf